Merge pull request #72 from ItsFelix5/patch-1

Allow betting your entire live savings
This commit is contained in:
Face 2025-06-14 19:34:05 +03:00 committed by GitHub
commit 08adc11dd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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