added order book

This commit is contained in:
ingawei 2022-09-28 06:45:32 -07:00
parent 89c3ea559c
commit 513cf7b290

View File

@ -17,6 +17,7 @@ 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, OrderBookButton } from './limit-bets'
/** Button that opens BetPanel in a new modal */
export default function BetButton(props: {
@ -115,6 +116,11 @@ export function SignedInBinaryMobileBetting(props: {
'border-greyscale-3 bg-greyscale-1 rounded-md border-2 px-4 py-2'
}
/>
<LimitBets
className="mt-4"
contract={contract as CPMMBinaryContract}
bets={unfilledBets}
/>
</Col>
</>
)