optional numTrades for tradehistory
This commit is contained in:
parent
c91d65e933
commit
cc87df1c02
|
@ -13,7 +13,7 @@ import { ExpandableRow } from './TableElements'
|
|||
import MobileTableHeader from './mobile/MobileTableHeader'
|
||||
import { formatUsdValue } from '../utils'
|
||||
|
||||
const TradeHistoryTable = ({ numTrades }) => {
|
||||
const TradeHistoryTable = ({ numTrades }: { numTrades?: number }) => {
|
||||
const { asPath } = useRouter()
|
||||
const tradeHistory = useTradeHistory({ excludePerpLiquidations: true })
|
||||
const { items, requestSort, sortConfig } = useSortableData(tradeHistory)
|
||||
|
|
Loading…
Reference in New Issue