diff --git a/packages/wallet/frontend/src/components/BackButton.tsx b/packages/wallet/frontend/src/components/BackButton.tsx index 69ba9f0ae..27ef7ee0d 100644 --- a/packages/wallet/frontend/src/components/BackButton.tsx +++ b/packages/wallet/frontend/src/components/BackButton.tsx @@ -12,7 +12,7 @@ export const BackButton = () => { router.back() }} > - + ) } diff --git a/packages/wallet/frontend/src/components/cards/AccountCard.tsx b/packages/wallet/frontend/src/components/cards/AccountCard.tsx index 6791a4bd8..80826afbf 100644 --- a/packages/wallet/frontend/src/components/cards/AccountCard.tsx +++ b/packages/wallet/frontend/src/components/cards/AccountCard.tsx @@ -28,7 +28,7 @@ export const AccountCard = ({ account, idOnboarding }: AccountCardProps) => { return ( { } }} > - {formattedAmount.symbol} - {account.name} - {formattedAmount.amount} + + {formattedAmount.symbol} + + + {account.name} + + + {formattedAmount.amount} + ) } diff --git a/packages/wallet/frontend/src/components/layouts/AppLayout.tsx b/packages/wallet/frontend/src/components/layouts/AppLayout.tsx index 783de736f..704be8c54 100644 --- a/packages/wallet/frontend/src/components/layouts/AppLayout.tsx +++ b/packages/wallet/frontend/src/components/layouts/AppLayout.tsx @@ -26,7 +26,7 @@ export const AppLayout = ({ children }: AppLayoutProps) => { <> {isUserFirstTime && } -
+
{children} diff --git a/packages/wallet/frontend/src/pages/index.tsx b/packages/wallet/frontend/src/pages/index.tsx index 67ed33aed..664d0e6d6 100644 --- a/packages/wallet/frontend/src/pages/index.tsx +++ b/packages/wallet/frontend/src/pages/index.tsx @@ -54,43 +54,11 @@ const HomePage: NextPageWithLayout = ({ accounts, user }) => { {accounts.length > 0 ? accounts.map((account) => ( - <> - - - - - - - - + )) : null} @@ -98,32 +66,6 @@ const HomePage: NextPageWithLayout = ({ accounts, user }) => { ) } -//
-//
-//

-// My Accounts -//

-//
-// {accounts.length > 0 ? ( -//
-// {accounts.map((account) => ( -// -// ))} -//
-// ) : ( -//
-// No accounts. -//
-// )} -//
- export const getServerSideProps: GetServerSideProps<{ accounts: Account[] user: {