Clear suggested FR answer after submission (#603)

This commit is contained in:
Ben Congdon 2022-06-30 15:13:59 -07:00 committed by GitHub
parent c5efd5b7d0
commit 7fc1ec6bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ export function CreateAnswerPanel(props: { contract: FreeResponseContract }) {
setText('')
setBetAmount(10)
setAmountError(undefined)
setPossibleDuplicateAnswer(undefined)
} else setAmountError(result.message)
}
}