User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
import { ArrowSmDownIcon } from '@heroicons/react/solid'
|
2021-04-12 21:40:26 -07:00
|
|
|
import useTradeHistory from '../hooks/useTradeHistory'
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
import Link from 'next/link'
|
|
|
|
import { useRouter } from 'next/router'
|
2021-04-20 07:19:08 -07:00
|
|
|
import { Table, Thead, Tbody, Tr, Th, Td } from 'react-super-responsive-table'
|
|
|
|
import SideBadge from './SideBadge'
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
import { LinkButton } from './Button'
|
|
|
|
import { useSortableData } from '../hooks/useSortableData'
|
2021-04-07 14:49:37 -07:00
|
|
|
|
|
|
|
const TradeHistoryTable = () => {
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
const { asPath } = useRouter()
|
2021-04-14 23:16:36 -07:00
|
|
|
const tradeHistory = useTradeHistory()
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
const { items, requestSort, sortConfig } = useSortableData(tradeHistory)
|
|
|
|
|
2021-04-22 05:33:35 -07:00
|
|
|
const renderTradeDateTime = (timestamp) => {
|
|
|
|
const date = new Date(timestamp)
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<div>{date.toLocaleDateString()}</div>
|
|
|
|
<div className="text-xs text-th-fgd-3">{date.toLocaleTimeString()}</div>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
2021-04-07 14:49:37 -07:00
|
|
|
|
|
|
|
return (
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<div className={`flex flex-col py-4`}>
|
2021-04-12 09:49:02 -07:00
|
|
|
<div className={`-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8`}>
|
|
|
|
<div className={`align-middle inline-block min-w-full sm:px-6 lg:px-8`}>
|
2021-04-13 09:57:58 -07:00
|
|
|
{tradeHistory && tradeHistory.length ? (
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<div className={`shadow overflow-hidden border-b border-th-bkg-2`}>
|
2021-04-20 07:19:08 -07:00
|
|
|
<Table className={`min-w-full divide-y divide-th-bkg-2`}>
|
|
|
|
<Thead>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<Tr className="text-th-fgd-3 text-xs">
|
|
|
|
<Th
|
|
|
|
scope="col"
|
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
|
|
|
>
|
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('market')}
|
|
|
|
>
|
|
|
|
Market
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'market'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
|
|
|
</Th>
|
2021-04-20 07:19:08 -07:00
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('side')}
|
|
|
|
>
|
|
|
|
Side
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'side'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('size')}
|
|
|
|
>
|
|
|
|
Size
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'size'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('price')}
|
|
|
|
>
|
|
|
|
Price
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'price'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('value')}
|
|
|
|
>
|
|
|
|
Value
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'value'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('liquidity')}
|
|
|
|
>
|
|
|
|
Liquidity
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'liquidity'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-07 14:49:37 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('feeCost')}
|
|
|
|
>
|
|
|
|
Fee
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'feeCost'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
<Th
|
2021-04-13 16:41:04 -07:00
|
|
|
scope="col"
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`px-6 py-3 text-left font-normal`}
|
2021-04-13 16:41:04 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<LinkButton
|
|
|
|
className="flex items-center no-underline"
|
|
|
|
onClick={() => requestSort('loadTimestamp')}
|
|
|
|
>
|
|
|
|
Approx Date
|
|
|
|
<ArrowSmDownIcon
|
|
|
|
className={`default-transition flex-shrink-0 h-4 w-4 ml-1 ${
|
|
|
|
sortConfig?.key === 'loadTimestamp'
|
|
|
|
? sortConfig.direction === 'ascending'
|
|
|
|
? 'transform rotate-180'
|
|
|
|
: 'transform rotate-360'
|
|
|
|
: null
|
|
|
|
}`}
|
|
|
|
/>
|
|
|
|
</LinkButton>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Th>
|
|
|
|
</Tr>
|
|
|
|
</Thead>
|
|
|
|
<Tbody>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
{items.map((trade, index) => (
|
2021-04-20 07:19:08 -07:00
|
|
|
<Tr
|
2021-04-14 23:16:36 -07:00
|
|
|
key={`${trade.orderId}${trade.side}${trade.uuid}`}
|
2021-04-20 07:19:08 -07:00
|
|
|
className={`border-b border-th-bkg-3
|
2021-04-13 16:41:04 -07:00
|
|
|
${index % 2 === 0 ? `bg-th-bkg-3` : `bg-th-bkg-2`}
|
2021-04-12 09:49:02 -07:00
|
|
|
`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-20 07:19:08 -07:00
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<div className="flex items-center">
|
|
|
|
<img
|
|
|
|
alt=""
|
|
|
|
width="20"
|
|
|
|
height="20"
|
|
|
|
src={`/assets/icons/${trade.marketName
|
|
|
|
.split('/')[0]
|
|
|
|
.toLowerCase()}.svg`}
|
|
|
|
className={`mr-2.5`}
|
|
|
|
/>
|
|
|
|
<div>{trade.marketName}</div>
|
|
|
|
</div>
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-20 07:19:08 -07:00
|
|
|
<SideBadge side={trade.side} />
|
|
|
|
</Td>
|
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-12 21:40:26 -07:00
|
|
|
{trade.size}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-12 21:40:26 -07:00
|
|
|
{trade.price}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
|
|
|
>
|
|
|
|
${(trade.price * trade.size).toFixed(2)}
|
|
|
|
</Td>
|
2021-04-20 07:19:08 -07:00
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-12 21:40:26 -07:00
|
|
|
{trade.liquidity}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
2021-04-12 21:40:26 -07:00
|
|
|
{trade.feeCost}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
|
|
|
<Td
|
|
|
|
className={`px-6 py-4 whitespace-nowrap text-sm text-th-fgd-1`}
|
2021-04-13 16:41:04 -07:00
|
|
|
>
|
|
|
|
{trade.loadTimestamp
|
2021-04-22 05:33:35 -07:00
|
|
|
? renderTradeDateTime(trade.loadTimestamp)
|
2021-04-13 16:41:04 -07:00
|
|
|
: 'Recent'}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Td>
|
|
|
|
</Tr>
|
2021-04-07 14:49:37 -07:00
|
|
|
))}
|
2021-04-20 07:19:08 -07:00
|
|
|
</Tbody>
|
|
|
|
</Table>
|
2021-04-07 14:49:37 -07:00
|
|
|
</div>
|
|
|
|
) : (
|
|
|
|
<div
|
2021-04-19 06:45:59 -07:00
|
|
|
className={`w-full text-center py-6 bg-th-bkg-1 text-th-fgd-3 rounded-md`}
|
2021-04-07 14:49:37 -07:00
|
|
|
>
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
No trade history.
|
|
|
|
{asPath === '/account' ? (
|
|
|
|
<Link href={'/'}>
|
|
|
|
<a
|
|
|
|
className={`inline-flex ml-2 py-0
|
|
|
|
`}
|
|
|
|
>
|
|
|
|
Make a trade
|
|
|
|
</a>
|
|
|
|
</Link>
|
|
|
|
) : null}
|
2021-04-07 14:49:37 -07:00
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default TradeHistoryTable
|