From 2671e7377ced40b3e05ba3298759ca0e921cf7cb Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 29 Jul 2023 21:46:08 -0600 Subject: [PATCH] Oops --- src/components/Navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 9c06a7d..ddfe9d3 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -85,7 +85,7 @@ const Navbar: React.FC = ({ title }) => { Profile - {sessionData.user.role === "ADMIN" && ( + {sessionData.user.isAdmin && (