Updated the Writing exercise to have the evaluation in the user solutions instead of the exercise itself
This commit is contained in:
@@ -107,7 +107,7 @@ export default function Writing({id, prompt, info, type, wordCounter, attachment
|
||||
<Button
|
||||
color="green"
|
||||
disabled={!isSubmitEnabled}
|
||||
onClick={() => onNext({exercise: id, solutions: [inputText], score: {correct: 1, total: 1, missing: 0}, type})}
|
||||
onClick={() => onNext({exercise: id, solutions: [{id, solution: inputText}], score: {correct: 1, total: 1, missing: 0}, type})}
|
||||
className="max-w-[200px] self-end w-full">
|
||||
Next
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user