From 9c65a9c271dfda5ea17c9d909bc9e7e6d0c040ab Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
Date: Fri, 3 Apr 2026 23:59:33 +0300
Subject: add profile

---
 src/components/header/ProfileOrLogin.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/header/ProfileOrLogin.tsx')

diff --git a/src/components/header/ProfileOrLogin.tsx b/src/components/header/ProfileOrLogin.tsx
index 416418b..68c81f6 100644
--- a/src/components/header/ProfileOrLogin.tsx
+++ b/src/components/header/ProfileOrLogin.tsx
@@ -21,11 +21,11 @@ export function ProfileOrLogin() {
             </Dialog>
         );
     }
-
+    const profileLink = `/profile/${user.username}`;
     return (
-        <Link href={'/profile'}>
+        <Link href={profileLink}>
             <Image
-                src={user?.avatar ?? 'icons/avatar.svg'}
+                src={user?.avatar ?? '/icons/avatar.svg'}
                 alt=""
                 width={60}
                 height={60}
-- 
cgit v1.3-3-g829e

