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 = [ 'Balances', 'Open Orders', 'Positions', /*'Fee Discounts'*/ 'Trade History', ] const UserInfoTabs = ({ activeTab, setActiveTab }) => { const handleTabChange = (tabName) => { setActiveTab(tabName) } return (