add Positions table just displaying raw contract data
This commit is contained in:
parent
e9cdeb8a08
commit
40c46a6b98
|
@ -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 <BalancesTable />
|
||||
case 'Trade History':
|
||||
return <TradeHistoryTable />
|
||||
case 'Positions':
|
||||
return <PositionsTable />
|
||||
// case 'Fee Discounts':
|
||||
// return <FeeDiscountsTable />
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue