diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-27 13:45:25 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-27 13:45:25 +0300 |
| commit | ab330c64eeed9edfc2a6ef6a6f5cd38587ba0996 (patch) | |
| tree | 9ca46c6552e427a9461387dc63362be0f9301acb /src/components/settings/SecurityPage.tsx | |
| parent | c7d2526afec5ffb8918c20d7c1c58852f1c647bd (diff) | |
add username change and logout
Diffstat (limited to 'src/components/settings/SecurityPage.tsx')
| -rw-r--r-- | src/components/settings/SecurityPage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/settings/SecurityPage.tsx b/src/components/settings/SecurityPage.tsx index d9079df..b5f38a9 100644 --- a/src/components/settings/SecurityPage.tsx +++ b/src/components/settings/SecurityPage.tsx @@ -2,7 +2,7 @@ import { InputField } from '@/components/ui/inputfield'; import { Button } from '@/components/ui'; import { Separator } from '@/components/ui'; import { useAuthContext } from '@/lib/contexts/Auth.context'; - +import LogoutButton from './LogoutButton'; export default function SecurityPage() { const { user } = useAuthContext(); @@ -87,7 +87,7 @@ export default function SecurityPage() { <Separator className="bg-violet/30 h-[1px]" /> </div> )} - <Button className="w-[310px]">Выйти из аккаунта</Button> + <LogoutButton /> </div> </div> </> |
