Skip to content

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

fix: correct /edit route on mobile menu (#1724)

Mehdiec16560ebb44
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index 58cdcfc5..652b8194 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -80,7 +80,7 @@ export async function Navigation() {
<>
<hr />
<NavLink title="Profile" href={`/@${session.user.name}`} />
- <NavLink title="Settings" href="/settings" />
+ <NavLink title="Settings" href={`/@${session.user.name}/edit`} />
<div className="flex items-center gap-2">
<span>Theme</span>
<ThemeButton />