diff options
Diffstat (limited to 'src/app/profile')
| -rw-r--r-- | src/app/profile/[username]/page.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/app/profile/[username]/page.tsx b/src/app/profile/[username]/page.tsx index cad11bb..ea13b36 100644 --- a/src/app/profile/[username]/page.tsx +++ b/src/app/profile/[username]/page.tsx @@ -1,11 +1,10 @@ -import Image from 'next/image'; -import { Button } from '@/components/ui'; +import AccountButton from '@/components/settings/AccountButton'; import { getUserByUsername } from '@/lib/api/user'; import { User } from '@/lib/contexts/Auth.context'; + interface ProfilePageProps { params: Promise<{ username: string }>; } - export default async function Profile({ params }: ProfilePageProps) { const { username } = await params; @@ -76,7 +75,7 @@ export default async function Profile({ params }: ProfilePageProps) { </div> </div> <div className="flex flex-row space-between flex-start gap-1.25 w-full h-[42px]"></div> - <Button>Управление аккаунтом</Button> + <AccountButton /> </div> </> ); |
