summaryrefslogtreecommitdiff
path: root/src/components/header/ProfileOrLogin.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-03 23:59:33 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-03 23:59:33 +0300
commit9c65a9c271dfda5ea17c9d909bc9e7e6d0c040ab (patch)
tree9df45f5df63fb509e1b7cdac81659c4713287d70 /src/components/header/ProfileOrLogin.tsx
parent1d20080db8a26e4b7dd4071daac1166142592afa (diff)
add profile
Diffstat (limited to 'src/components/header/ProfileOrLogin.tsx')
-rw-r--r--src/components/header/ProfileOrLogin.tsx6
1 files changed, 3 insertions, 3 deletions
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}