PlayMoneyDisclaimer copy; hide order book for signed out users

This commit is contained in:
mantikoros 2022-07-25 12:29:29 -07:00
parent d82c7d7f3e
commit d8f96876a0

View File

@ -92,7 +92,8 @@ export function BetPanel(props: {
{!user && <PlayMoneyDisclaimer />} {!user && <PlayMoneyDisclaimer />}
</Col> </Col>
{unfilledBets.length > 0 && (
{user && unfilledBets.length > 0 && (
<LimitBets className="mt-4" contract={contract} bets={unfilledBets} /> <LimitBets className="mt-4" contract={contract} bets={unfilledBets} />
)} )}
</Col> </Col>
@ -101,9 +102,9 @@ export function BetPanel(props: {
const PlayMoneyDisclaimer = () => ( const PlayMoneyDisclaimer = () => (
<InfoBox <InfoBox
title="It's play-money" title="Play-money betting"
className="mt-4 max-w-md" className="mt-4 max-w-md"
text="Manifold Dollars (M$) are the play currency used by our platform to keep track of your bets. It's completely free for you and your friends to get started!" text="Mana (M$) is the play-money used by our platform to keep track of your bets. It's completely free for you and your friends to get started!"
/> />
) )