Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

navigate to @username on dropdown

bautistaaa0895fde80e9d
diff --git a/src/components/ui/navigation.tsx b/src/components/ui/navigation.tsx
index 539e4718..87a2a9bf 100644
--- a/src/components/ui/navigation.tsx
+++ b/src/components/ui/navigation.tsx
@@ -146,7 +146,7 @@ export function Navigation() {
My Account
</DropdownMenuLabel>
<DropdownMenuSeparator />
- <Link className="block" href="/profile">
+ <Link className="block" href={`/@${session.user.name ?? ''}`}>
<DropdownMenuItem className="rounded-lg p-2 duration-300 focus:bg-accent focus:outline-none">
<User className="mr-2 h-4 w-4" />
<span>Profile</span>