import { t } from '@vegaprotocol/react-helpers'; import { PositionsContainer } from '@vegaprotocol/positions'; import { OrderListContainer } from '@vegaprotocol/orders'; import { AccountsContainer } from '@vegaprotocol/accounts'; import { ResizableGridPanel, Tab, Tabs } from '@vegaprotocol/ui-toolkit'; import { WithdrawalsContainer } from './withdrawals-container'; import { FillsContainer } from '@vegaprotocol/fills'; import type { ReactNode } from 'react'; import { VegaWalletContainer } from '../../components/vega-wallet-container'; import { DepositsContainer } from './deposits-container'; import { ResizableGrid } from '@vegaprotocol/ui-toolkit'; import { LayoutPriority } from 'allotment'; const Portfolio = () => { const wrapperClasses = 'h-full max-h-full flex flex-col'; const tabContentClassName = 'h-full grid grid-rows-[min-content_1fr]'; return (

{t('Positions')}

{t('Orders')}

{t('Fills')}

); }; Portfolio.getInitialProps = () => ({ page: 'portfolio', }); export default Portfolio; interface PortfolioGridChildProps { children: ReactNode; } const PortfolioGridChild = ({ children }: PortfolioGridChildProps) => { return (
{children}
); };