From a28dc7d3562f7f43ff07b39d20389bb7a2cf66a9 Mon Sep 17 00:00:00 2001 From: JBB0807 <104856796+JBB0807@users.noreply.github.com> Date: Mon, 5 May 2025 23:51:35 -0700 Subject: [PATCH] nave items displayed based on role --- src/components/Navbar.jsx | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 537cb27..a37fc43 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -14,7 +14,7 @@ const Navbar = () => { async function handleLogout() { window.open(`${authUrl}/auth/logout`, "_self"); - }; + } useEffect(() => { // Set active link based on current path @@ -128,18 +128,22 @@ const Navbar = () => { */} -