From d3bceed42caca6ac8c39ebe0c929f7d3c13d2bfa Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
Date: Thu, 9 Apr 2026 15:20:56 +0300
Subject: update settings

---
 src/components/settings/AccountButton.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/components/settings/AccountButton.tsx

(limited to 'src/components/settings/AccountButton.tsx')

diff --git a/src/components/settings/AccountButton.tsx b/src/components/settings/AccountButton.tsx
new file mode 100644
index 0000000..ecd0eb4
--- /dev/null
+++ b/src/components/settings/AccountButton.tsx
@@ -0,0 +1,17 @@
+'use client';
+
+import Link from 'next/link';
+import { Button } from '@/components/ui';
+import { useUser } from '@/lib/contexts/Auth.context';
+
+export default function AccountButton() {
+    const user = useUser();
+
+    if (!user) return null;
+
+    return (
+        <Button>
+            <Link href="/settings">Управление аккаунтом</Link>
+        </Button>
+    );
+}
-- 
cgit v1.3-3-g829e

