import { useState } from 'react'
import TradeHistoryTable from '../TradeHistoryTable'
// const historyViews = ['Trades', 'Deposits', 'Withdrawals', 'Liquidations']
export default function AccountHistory() {
const [view] = useState('Trades')
return (
<>
Trade History
{/* Todo: add this back when the data is available */}
{/*
{historyViews.map((section) => (
setView(section)}
key={section as string}
>
{section}
))}
*/}
>
)
}
const ViewContent = ({ view }) => {
switch (view) {
case 'Trades':
return
case 'Deposits':
return Deposits
case 'Withdrawals':
return Withdrawals
case 'Liquidations':
return Liquidations
default:
return
}
}