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 { SellRow } from './sell-row'
|
||||
import { useUnfilledBets } from 'web/hooks/use-bets'
|
||||
import { LimitBets } from './limit-bets'
|
||||
|
||||
/** Button that opens BetPanel in a new modal */
|
||||
export default function BetButton(props: {
|
||||
|
|
|
@ -415,20 +415,23 @@ export function BuyPanel(props: {
|
|||
>
|
||||
Advanced
|
||||
</button>
|
||||
<Modal open={seeLimit} setOpen={setSeeLimit} position="center">
|
||||
<Col className="rounded-lg bg-white px-4 pb-4">
|
||||
<Title text="Limit Order" />
|
||||
<LimitOrderPanel
|
||||
hidden={!seeLimit}
|
||||
contract={contract}
|
||||
user={user}
|
||||
unfilledBets={unfilledBets}
|
||||
/>
|
||||
</Col>
|
||||
<Modal
|
||||
open={seeLimit}
|
||||
setOpen={setSeeLimit}
|
||||
position="center"
|
||||
className="rounded-lg bg-white px-4 pb-4"
|
||||
>
|
||||
<Title text="Limit Order" />
|
||||
<LimitOrderPanel
|
||||
hidden={!seeLimit}
|
||||
contract={contract}
|
||||
user={user}
|
||||
unfilledBets={unfilledBets}
|
||||
/>
|
||||
<LimitBets
|
||||
contract={contract}
|
||||
bets={unfilledBets as LimitBet[]}
|
||||
className="mt-2 rounded-lg bg-white px-4 pb-4"
|
||||
className="mt-4"
|
||||
/>
|
||||
</Modal>
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user