Improved an error we had before
This commit is contained in:
@@ -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} />;
|
||||
|
||||
Reference in New Issue
Block a user