1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 13:52:46 +02:00
This commit is contained in:
Arik Chakma
2025-07-07 21:35:52 +06:00
parent f3025cbe40
commit 52b70924c2

View File

@@ -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}
/>