From 6ef48af085a74c82b09fa730683444ed9f6aa0a2 Mon Sep 17 00:00:00 2001 From: jahooma Date: Mon, 10 Jan 2022 17:55:34 -0600 Subject: [PATCH] Hide add funds button if you are a first-time user (have 1000 balance) --- web/components/bet-panel.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 5ffb27b7..7a91e9da 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -152,7 +152,9 @@ export function BetPanel(props: { contract: Contract; className?: string }) { {error} )} - {user && } + {user && user.balance !== 1000 && ( + + )}
Implied probability