Update +page.svelte
Fix not being able to bet exact account balance.
This commit is contained in:
parent
e82866f39b
commit
f70992297a
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Reference in a new issue