diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-09 15:20:56 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-09 15:20:56 +0300 |
| commit | d3bceed42caca6ac8c39ebe0c929f7d3c13d2bfa (patch) | |
| tree | 3f641db6d83d2de03f972e11761b95adc7359317 /src/app/profile | |
| parent | 3b68dee3f51b54cb452641336f3750574441f9bb (diff) | |
update settings
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> </> ); |
