Skip to content
Snippets Groups Projects
Commit a4f11947 authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Clear input once question is inserted

parent 37ea64b1
No related branches found
No related tags found
1 merge request!25Add a question management page
......@@ -48,6 +48,7 @@ const Questions = () => {
const onQuestionSubmit = async (): Promise<void> => {
await insertNewQuestion(newQuestion);
setNewQuestion('');
setRehydrateQuestions(true);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment