Keep FR answer panel open after betting (#68)
This commit is contained in:
parent
50eb9bd4bd
commit
6e387ef938
|
@ -63,7 +63,7 @@ export function AnswerBetPanel(props: {
|
||||||
|
|
||||||
if (result?.status === 'success') {
|
if (result?.status === 'success') {
|
||||||
setIsSubmitting(false)
|
setIsSubmitting(false)
|
||||||
closePanel()
|
setBetAmount(undefined)
|
||||||
} else {
|
} else {
|
||||||
setError(result?.error || 'Error placing bet')
|
setError(result?.error || 'Error placing bet')
|
||||||
setIsSubmitting(false)
|
setIsSubmitting(false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user