From 7fc1ec6bd2f8f379277cd747008ecd92c275af11 Mon Sep 17 00:00:00 2001 From: Ben Congdon Date: Thu, 30 Jun 2022 15:13:59 -0700 Subject: [PATCH] Clear suggested FR answer after submission (#603) --- web/components/answers/create-answer-panel.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/answers/create-answer-panel.tsx b/web/components/answers/create-answer-panel.tsx index 6eeadf97..ed9012c9 100644 --- a/web/components/answers/create-answer-panel.tsx +++ b/web/components/answers/create-answer-panel.tsx @@ -58,6 +58,7 @@ export function CreateAnswerPanel(props: { contract: FreeResponseContract }) { setText('') setBetAmount(10) setAmountError(undefined) + setPossibleDuplicateAnswer(undefined) } else setAmountError(result.message) } }