diff --git a/src/components/OpenOrders/OpenOrders.tsx b/src/components/OpenOrders/OpenOrders.tsx index 47216d1a..ba558394 100644 --- a/src/components/OpenOrders/OpenOrders.tsx +++ b/src/components/OpenOrders/OpenOrders.tsx @@ -6,6 +6,7 @@ import TableHead from '@material-ui/core/TableHead' import TableRow from '@material-ui/core/TableRow' import TableBody from '@material-ui/core/TableBody' import Link from '@material-ui/core/Link' +import TableContainer from '@material-ui/core/TableContainer' import useSerum from '../../hooks/useSerum' import useWallet from '../../hooks/useWallet' @@ -132,51 +133,53 @@ const OpenOrders: React.FC<{ return ( - - - - -

Open Orders

-
-
- - Side - Option Type - Asset Pair - Expiration - Strike Price - Contract Size - Order Size - Limit Price - {/* Filled */} - Action - -
- - {!connected ? ( + +
+ - - - Connect Wallet - - + +

Open Orders

+
- ) : ( - optionMarkets.map((optionMarket) => { - if (optionMarket?.serumKey) { - return ( - - ) - } - return null - }) - )} - -
+ + Side + Option Type + Asset Pair + Expiration + Strike Price + Contract Size + Order Size + Limit Price + {/* Filled */} + Action + + + + {!connected ? ( + + + + Connect Wallet + + + + ) : ( + optionMarkets.map((optionMarket) => { + if (optionMarket?.serumKey) { + return ( + + ) + } + return null + }) + )} + + +
) }