25b67009a6
* feat: add a global zustand store for managing connect dialogs and landing dialog * feat: add tests * fix: remove condition for cypress for auto connecting * chore: fix assertion in tests for vega wallet text * fix: add mock for landing dialog markets query Co-authored-by: madalinaraicu <madalina@vegaprotocol.io>
28 lines
923 B
TypeScript
28 lines
923 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 { WithdrawalsPageContainer } from './withdrawals-page-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>
|
|
<WithdrawalsPageContainer />
|
|
</div>
|
|
)}
|
|
/>
|
|
</VegaWalletContainer>
|
|
);
|
|
};
|
|
|
|
export default Withdrawals;
|