From b7cc4aed9ba8371638436308a0fffd61c8050825 Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Tue, 21 Mar 2023 17:53:47 +0000 Subject: [PATCH] Route to profile on settings click on navbar --- apps/web/components/navigation.tsx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/apps/web/components/navigation.tsx b/apps/web/components/navigation.tsx index b419dbfa8..5b072a814 100644 --- a/apps/web/components/navigation.tsx +++ b/apps/web/components/navigation.tsx @@ -34,7 +34,7 @@ const navigation = [ }, { name: "Settings", - href: "/settings", + href: "/settings/profile", current: true, icon: WrenchIcon, }, @@ -151,10 +151,7 @@ export default function TopNavigation() {
@@ -236,12 +233,8 @@ export default function TopNavigation() { />
-
- {user?.name || ""} -
-
- {user?.email} -
+
{user?.name || ""}
+
{user?.email}