Hide add funds button if you are a first-time user (have 1000 balance)

This commit is contained in:
jahooma 2022-01-10 17:55:34 -06:00
parent 9a834526c0
commit 6ef48af085

View File

@ -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>