From efd4f7c287974e8991005c6fd50bb872d9845a52 Mon Sep 17 00:00:00 2001
From: Matt Kirby <MattJKirby@outlook.com>
Date: Fri, 14 Apr 2023 01:27:16 +0100
Subject: [PATCH] Fixed navbar link

---
 daily-thought-frontend/src/components/navigation/NavBar.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/daily-thought-frontend/src/components/navigation/NavBar.tsx b/daily-thought-frontend/src/components/navigation/NavBar.tsx
index 020d54de..d1f27730 100644
--- a/daily-thought-frontend/src/components/navigation/NavBar.tsx
+++ b/daily-thought-frontend/src/components/navigation/NavBar.tsx
@@ -5,7 +5,7 @@ import { PhotoIcon, UserCircleIcon } from '@heroicons/react/24/solid'
 import { User } from '@/types/user'
 
 const navigation = [
-  { name: 'My Feed', href: '#', current: true }
+  { name: 'My Feed', href: '/feed', current: true }
 ]
 const userNavigation = [
   { name: 'Your Profile', href: '/profile' },
@@ -167,7 +167,7 @@ const NavBar: FC<PropsWithChildren<NavBarProps>> = ({
                       
                     </div>
                     <div className="ml-3">
-                      {(user?.firstName || user?.lastName) && <div className="text-base font-medium leading-none text-grey-600">{`${user?.firstName || ""} ${user?.lastName || ""}`}</div>}
+                      {user?.firstName && <div className="text-base font-medium leading-none text-grey-600">{`${user?.firstName || ""} ${user?.lastName || ""}`}</div>}
                       <div className="text-sm font-medium leading-none text-gray-400">{`@${user?.username}`}</div>
                     </div>
                     <button
-- 
GitLab