Hide bet panel when signed out
This commit is contained in:
parent
5dec6b4a22
commit
a7c8b8aec4
|
@ -67,6 +67,8 @@ export function BetPanel(props: {
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
{user ? (
|
||||||
|
<>
|
||||||
<QuickOrLimitBet
|
<QuickOrLimitBet
|
||||||
isLimitOrder={isLimitOrder}
|
isLimitOrder={isLimitOrder}
|
||||||
setIsLimitOrder={setIsLimitOrder}
|
setIsLimitOrder={setIsLimitOrder}
|
||||||
|
@ -84,10 +86,13 @@ export function BetPanel(props: {
|
||||||
user={user}
|
user={user}
|
||||||
unfilledBets={unfilledBets}
|
unfilledBets={unfilledBets}
|
||||||
/>
|
/>
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
<BetSignUpPrompt />
|
<BetSignUpPrompt />
|
||||||
|
<PlayMoneyDisclaimer />
|
||||||
{!user && <PlayMoneyDisclaimer />}
|
</>
|
||||||
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
{user && unfilledBets.length > 0 && (
|
{user && unfilledBets.length > 0 && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user