Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into feat/adjust-por-to-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
rozanagy committed Oct 3, 2024
2 parents 8b2df34 + 618d249 commit feba24d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/pages/dashboard/dashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
import React from 'react';

import { HStack } from '@chakra-ui/react';
import { LandingPage } from '@components/mint-unmint/components/landing-page/landing-page';
import { MintUnmint } from '@components/mint-unmint/mint-unmint';
import { MyVaultsSmall } from '@components/my-vaults-small/my-vaults-small';
import { PageLayout } from '@pages/components/page.layout';
import { useAccount } from 'wagmi';

import { breakpoints } from '@shared/utils';

export function Dashboard(): React.JSX.Element {
const { isConnected } = useAccount();

return (
<PageLayout>
{isConnected ? (
<>
<HStack w={breakpoints}>
<MintUnmint />
<MyVaultsSmall />
</>
</HStack>
) : (
<LandingPage />
)}
Expand Down

0 comments on commit feba24d

Please sign in to comment.