Skip to content

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

fix: settings url now links to /@username/settings (#1623)

Satishkumar11fcc54f9cbd
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index 4e7dacda..a37bacfa 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -183,7 +183,7 @@ async function LoginButton({
<span>Profile</span>
</DropdownMenuItem>
</Link>
- <Link className="block" href="/settings">
+ <Link className="block" href={`/@${session.user.name}/settings`}>
<DropdownMenuItem className="focus:bg-accent rounded-lg p-2 duration-300 focus:outline-none">
<Settings2 className="mr-2 h-4 w-4" />
<span>Settings</span>