Stop hardcoding quick bet size
This commit is contained in:
parent
d010ec17c0
commit
0f5401f82d
|
@ -159,7 +159,7 @@ export function QuickBet(props: { contract: Contract; user: User }) {
|
||||||
onClick={() => placeQuickBet('UP')}
|
onClick={() => placeQuickBet('UP')}
|
||||||
/>
|
/>
|
||||||
<div className="mt-2 text-center text-xs text-transparent peer-hover:text-gray-400">
|
<div className="mt-2 text-center text-xs text-transparent peer-hover:text-gray-400">
|
||||||
{formatMoney(10)}
|
{formatMoney(BET_SIZE)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{hasUpShares > 0 ? (
|
{hasUpShares > 0 ? (
|
||||||
|
@ -213,7 +213,7 @@ export function QuickBet(props: { contract: Contract; user: User }) {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<div className="mb-2 text-center text-xs text-transparent peer-hover:text-gray-400">
|
<div className="mb-2 text-center text-xs text-transparent peer-hover:text-gray-400">
|
||||||
{formatMoney(10)}
|
{formatMoney(BET_SIZE)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user