diff options
Diffstat (limited to 'src/components/header/ProfileOrLogin.tsx')
| -rw-r--r-- | src/components/header/ProfileOrLogin.tsx | 6 |
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} |
