Skip to content

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

fix: link to user edit route (#1658)

Mehdi5766c60a16df
diff --git a/apps/aot/package.json b/apps/aot/package.json
index 52d5ef60..b04e8f54 100644
--- a/apps/aot/package.json
+++ b/apps/aot/package.json
@@ -33,7 +33,6 @@
"@trpc/client": "^11.0.0-rc.446",
"@trpc/react-query": "^11.0.0-rc.446",
"@trpc/server": "^11.0.0-rc.446",
- "@types/three": "^0.170.0",
"@uploadthing/react": "^6.2.2",
"@vercel/analytics": "^1.1.1",
"@vercel/edge-config": "^0.2.1",
@@ -69,6 +68,7 @@
"@types/node": "^20.4.2",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
+ "@types/three": "^0.170.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.45.0",
"eslint-config-next": "^13.4.10",
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index 7401973f..8f22fea2 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -178,7 +178,7 @@ async function LoginButton({
<span>Profile</span>
</DropdownMenuItem>
</Link>
- <Link className="block" href={`/@${session.user.name}/settings`}>
+ <Link className="block" href={`/@${session.user.name}/edit`}>
<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>