Hide add funds button if you are a first-time user (have 1000 balance)
This commit is contained in:
parent
9a834526c0
commit
6ef48af085
|
@ -152,7 +152,9 @@ export function BetPanel(props: { contract: Contract; className?: string }) {
|
||||||
{error}
|
{error}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{user && <AddFundsButton className="self-end mt-3" />}
|
{user && user.balance !== 1000 && (
|
||||||
|
<AddFundsButton className="self-end mt-3" />
|
||||||
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<div className="mt-2 mb-1 text-sm text-gray-500">Implied probability</div>
|
<div className="mt-2 mb-1 text-sm text-gray-500">Implied probability</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user