Keep FR answer panel open after betting (#68)

This commit is contained in:
Sinclair Chen 2022-03-25 13:33:57 -07:00 committed by GitHub
parent 50eb9bd4bd
commit 6e387ef938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ export function AnswerBetPanel(props: {
if (result?.status === 'success') {
setIsSubmitting(false)
closePanel()
setBetAmount(undefined)
} else {
setError(result?.error || 'Error placing bet')
setIsSubmitting(false)