Removed unused authority check

This commit is contained in:
Peter KW 2024-03-19 17:12:38 +01:00
parent cd84a2bb21
commit a72aea1382

View file

@ -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]);