From 8e2df843dde6b18aba35e3c41a2c5d5653e36b22 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 && (