diff --git a/components/UserInfo.tsx b/components/UserInfo.tsx index bff6b73b..be9f1f8d 100644 --- a/components/UserInfo.tsx +++ b/components/UserInfo.tsx @@ -2,10 +2,12 @@ import { useState } from 'react' import FloatingElement from './FloatingElement' import OpenOrdersTable from './OpenOrdersTable' import BalancesTable from './BalancesTable' +import PositionsTable from './PositionsTable' import TradeHistoryTable from './TradeHistoryTable' +import { Position } from '../public/charting_library/charting_library' // import FeeDiscountsTable from './FeeDiscountsTable' -const TABS = ['Open Orders', 'Balances', 'Trade History' /*'Fee Discounts'*/] +const TABS = ['Open Orders', 'Balances', 'Trade History', 'Positions' /*'Fee Discounts'*/] const UserInfoTabs = ({ activeTab, setActiveTab }) => { const handleTabChange = (tabName) => { @@ -64,6 +66,8 @@ const TabContent = ({ activeTab }) => { return case 'Trade History': return + case 'Positions': + return // case 'Fee Discounts': // return default: