Skip to content

Commit

Permalink
after failed edit, set back to add a new qn
Browse files Browse the repository at this point in the history
  • Loading branch information
bhnuka committed Nov 9, 2024
1 parent a1036c1 commit 983c143
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const QuestionManagement: React.FC = () => {
setError(null);
} catch (err) {
setError('Failed to save question. Please try again.');
setEditingQuestion(null);
}
};

Expand Down

0 comments on commit 983c143

Please sign in to comment.