Update +page.svelte

Fix not being able to bet exact account balance.
This commit is contained in:
Gir0fa 2025-06-08 18:05:15 -05:00 committed by GitHub
parent e82866f39b
commit f70992297a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -415,7 +415,7 @@
size="lg"
disabled={!customBetAmount ||
Number(customBetAmount) <= 0 ||
Number(customBetAmount) > userBalance ||
Number(customBetAmount) >= userBalance ||
placingBet ||
question.aiResolution !== null}
onclick={placeBet}