Improved an error we had before

This commit is contained in:
Tiago Ribeiro
2023-09-25 14:57:14 +01:00
parent cb5434d166
commit 8b7e7cf0ad
4 changed files with 3 additions and 5 deletions

View File

@@ -27,8 +27,6 @@ export interface CommonProps {
}
export const renderSolution = (exercise: Exercise, onNext: () => void, onBack: () => void) => {
console.log(exercise);
switch (exercise.type) {
case "fillBlanks":
return <FillBlanks {...(exercise as FillBlanksExercise)} onNext={onNext} onBack={onBack} />;