parent
769828a39d
commit
e36d571cbf
@ -21,7 +21,6 @@ const Portfolio = () => {
|
|||||||
updateTitle(titlefy([t('Portfolio')]));
|
updateTitle(titlefy([t('Portfolio')]));
|
||||||
}, [updateTitle]);
|
}, [updateTitle]);
|
||||||
const wrapperClasses = 'h-full max-h-full flex flex-col';
|
const wrapperClasses = 'h-full max-h-full flex flex-col';
|
||||||
const tabContentClassName = 'h-full grid grid-rows-[min-content_1fr]';
|
|
||||||
return (
|
return (
|
||||||
<div className={wrapperClasses}>
|
<div className={wrapperClasses}>
|
||||||
<ResizableGrid vertical={true}>
|
<ResizableGrid vertical={true}>
|
||||||
@ -35,22 +34,12 @@ const Portfolio = () => {
|
|||||||
</Tab>
|
</Tab>
|
||||||
<Tab id="orders" name={t('Orders')}>
|
<Tab id="orders" name={t('Orders')}>
|
||||||
<VegaWalletContainer>
|
<VegaWalletContainer>
|
||||||
<div className={tabContentClassName}>
|
<OrderListContainer />
|
||||||
<h4 className="text-xl p-4">{t('Orders')}</h4>
|
|
||||||
<div>
|
|
||||||
<OrderListContainer />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</VegaWalletContainer>
|
</VegaWalletContainer>
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab id="fills" name={t('Fills')}>
|
<Tab id="fills" name={t('Fills')}>
|
||||||
<VegaWalletContainer>
|
<VegaWalletContainer>
|
||||||
<div className={tabContentClassName}>
|
<FillsContainer />
|
||||||
<h4 className="text-xl p-4">{t('Fills')}</h4>
|
|
||||||
<div>
|
|
||||||
<FillsContainer />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</VegaWalletContainer>
|
</VegaWalletContainer>
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
Loading…
Reference in New Issue
Block a user