diff --git a/src/pages/profile/ui/ProfilePage.tsx b/src/pages/profile/ui/ProfilePage.tsx index bb3a56a..81e11a8 100644 --- a/src/pages/profile/ui/ProfilePage.tsx +++ b/src/pages/profile/ui/ProfilePage.tsx @@ -1,6 +1,6 @@ import { useNavigate } from 'react-router-dom' import { useMe } from '@features/auth' -import { usePortfolio } from '@features/wallet' +import { usePortfolio, useWalletAddresses } from '@features/wallet' import { ROUTES } from '@shared/config/routes' import { Button, FormField } from '@shared/ui' import { WalletHeader } from '@widgets/wallet-header' @@ -10,6 +10,7 @@ import styles from './ProfilePage.module.css' export function ProfilePage() { const { data } = useMe() const { data: portfolio, isLoading: isPortfolioLoading } = usePortfolio() + const { data: walletAddresses } = useWalletAddresses() const navigate = useNavigate() const capitalize = (s: string) => (s ? s[0].toUpperCase() + s.slice(1).toLowerCase() : '') @@ -67,7 +68,16 @@ export function ProfilePage() { } >