linting
This commit is contained in:
parent
fe0c20b220
commit
77ba6e967f
|
@ -17,7 +17,6 @@ import { BetSignUpPrompt } from './sign-up-prompt'
|
||||||
import { User } from 'web/lib/firebase/users'
|
import { User } from 'web/lib/firebase/users'
|
||||||
import { SellRow } from './sell-row'
|
import { SellRow } from './sell-row'
|
||||||
import { useUnfilledBets } from 'web/hooks/use-bets'
|
import { useUnfilledBets } from 'web/hooks/use-bets'
|
||||||
import { LimitBets } from './limit-bets'
|
|
||||||
|
|
||||||
/** Button that opens BetPanel in a new modal */
|
/** Button that opens BetPanel in a new modal */
|
||||||
export default function BetButton(props: {
|
export default function BetButton(props: {
|
||||||
|
|
|
@ -415,20 +415,23 @@ export function BuyPanel(props: {
|
||||||
>
|
>
|
||||||
Advanced
|
Advanced
|
||||||
</button>
|
</button>
|
||||||
<Modal open={seeLimit} setOpen={setSeeLimit} position="center">
|
<Modal
|
||||||
<Col className="rounded-lg bg-white px-4 pb-4">
|
open={seeLimit}
|
||||||
<Title text="Limit Order" />
|
setOpen={setSeeLimit}
|
||||||
<LimitOrderPanel
|
position="center"
|
||||||
hidden={!seeLimit}
|
className="rounded-lg bg-white px-4 pb-4"
|
||||||
contract={contract}
|
>
|
||||||
user={user}
|
<Title text="Limit Order" />
|
||||||
unfilledBets={unfilledBets}
|
<LimitOrderPanel
|
||||||
/>
|
hidden={!seeLimit}
|
||||||
</Col>
|
contract={contract}
|
||||||
|
user={user}
|
||||||
|
unfilledBets={unfilledBets}
|
||||||
|
/>
|
||||||
<LimitBets
|
<LimitBets
|
||||||
contract={contract}
|
contract={contract}
|
||||||
bets={unfilledBets as LimitBet[]}
|
bets={unfilledBets as LimitBet[]}
|
||||||
className="mt-2 rounded-lg bg-white px-4 pb-4"
|
className="mt-4"
|
||||||
/>
|
/>
|
||||||
</Modal>
|
</Modal>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user