d4420d6038
* feat: add base portfolio layout * feat: add positions, order list and withdrawals to portfolio page * feat: add account container to portfolio page plus wallet management improvments * fix: remove duplication from portfolio page containers * fix: format and lint * fix: remove buggy wallet dialog from portfolio page * fix: deposit e2e test navigation * fix: temporarily go straight to withdrawal pages * fix: formatting * fix: add formatting Co-authored-by: Joe <joe@vega.xyz>
28 lines
910 B
TypeScript
28 lines
910 B
TypeScript
import { t } from '@vegaprotocol/react-helpers';
|
|
import { AnchorButton } from '@vegaprotocol/ui-toolkit';
|
|
import { VegaWalletContainer } from '../../../components/vega-wallet-container';
|
|
import { Web3Container } from '../../../components/web3-container';
|
|
import { WithdrawalsContainer } from './withdrawals-container';
|
|
|
|
const Withdrawals = () => {
|
|
return (
|
|
<VegaWalletContainer>
|
|
<Web3Container
|
|
render={() => (
|
|
<div className="h-full grid grid grid-rows-[min-content,1fr]">
|
|
<header className="flex justify-between p-24">
|
|
<h1 className="text-h3">{t('Withdrawals')}</h1>
|
|
<AnchorButton href="/portfolio/withdraw">
|
|
{t('Start withdrawal')}
|
|
</AnchorButton>
|
|
</header>
|
|
<WithdrawalsContainer />
|
|
</div>
|
|
)}
|
|
/>
|
|
</VegaWalletContainer>
|
|
);
|
|
};
|
|
|
|
export default Withdrawals;
|