From a72aea1382e1b2834304df5126e872ba71b9e6f1 Mon Sep 17 00:00:00 2001 From: Peter KW Date: Tue, 19 Mar 2024 17:12:38 +0100 Subject: [PATCH] Removed unused authority check --- frontend/src/Pages/App.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/Pages/App.tsx b/frontend/src/Pages/App.tsx index 69fd698..62e1b36 100644 --- a/frontend/src/Pages/App.tsx +++ b/frontend/src/Pages/App.tsx @@ -11,8 +11,6 @@ function App(): JSX.Element { if (authority === 1) { navigate("/admin"); } else if (authority === 2) { - navigate("/pm"); - } else if (authority === 3) { navigate("/yourProjects"); } }, [authority, navigate]);