Skip to content

Commit

Permalink
fix: use connect wallet plug on assets page
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed May 16, 2024
1 parent 92ed265 commit 9d57429
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/pages/AssetsPage/AssetsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ import { Box } from '@mui/material';
import { Outlet } from 'react-router-dom';

import { CenteredPageWrapper } from '@layouts/NetworkLayout';
import { ConnectedWalletRequired } from '@network/ConnectedWalletRequired';

import { MyAssets } from './Assets';
import { MyVestings } from './Vestings';

export function AssetsPage() {
return (
<CenteredPageWrapper className="wide">
<MyAssets />
<Box sx={{ height: 64 }} />
<MyVestings />
<ConnectedWalletRequired>
<Box>
<MyAssets />
<Box sx={{ height: 64 }} />
<MyVestings />
</Box>
</ConnectedWalletRequired>
<Outlet />
</CenteredPageWrapper>
);
Expand Down

0 comments on commit 9d57429

Please sign in to comment.