Merge pull request #58 from wbrous/patch-1

When trying to place a Hopium bet, the user is unable to bet their entire money amount.
This commit is contained in:
Face 2025-06-10 16:19:38 +03:00 committed by GitHub
commit b8556bacb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -415,7 +415,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}