mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 13:52:46 +02:00
wip
This commit is contained in:
@@ -57,6 +57,7 @@ export function AIOpenEndedQuestion(props: AIOpenEndedQuestionProps) {
|
||||
}
|
||||
|
||||
setCorrectAnswer(data.feedback || '');
|
||||
onSubmit(data?.status || 'incorrect');
|
||||
},
|
||||
});
|
||||
|
||||
@@ -107,7 +108,9 @@ export function AIOpenEndedQuestion(props: AIOpenEndedQuestionProps) {
|
||||
title={
|
||||
feedbackStatus === 'can_be_improved'
|
||||
? 'Can be improved'
|
||||
: 'Feedback'
|
||||
: feedbackStatus === 'correct'
|
||||
? 'Correct'
|
||||
: 'Incorrect'
|
||||
}
|
||||
explanation={feedback}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user