From f70992297aa97317d56c97dacad9a350640ab8de Mon Sep 17 00:00:00 2001 From: Gir0fa Date: Sun, 8 Jun 2025 18:05:15 -0500 Subject: [PATCH] Update +page.svelte Fix not being able to bet exact account balance. --- website/src/routes/hopium/[id]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/routes/hopium/[id]/+page.svelte b/website/src/routes/hopium/[id]/+page.svelte index 5d4fa17..e7a6273 100644 --- a/website/src/routes/hopium/[id]/+page.svelte +++ b/website/src/routes/hopium/[id]/+page.svelte @@ -415,7 +415,7 @@ size="lg" disabled={!customBetAmount || Number(customBetAmount) <= 0 || - Number(customBetAmount) > userBalance || + Number(customBetAmount) >= userBalance || placingBet || question.aiResolution !== null} onclick={placeBet}