Removed unused authority check
This commit is contained in:
parent
cd84a2bb21
commit
a72aea1382
1 changed files with 0 additions and 2 deletions
|
@ -11,8 +11,6 @@ function App(): JSX.Element {
|
||||||
if (authority === 1) {
|
if (authority === 1) {
|
||||||
navigate("/admin");
|
navigate("/admin");
|
||||||
} else if (authority === 2) {
|
} else if (authority === 2) {
|
||||||
navigate("/pm");
|
|
||||||
} else if (authority === 3) {
|
|
||||||
navigate("/yourProjects");
|
navigate("/yourProjects");
|
||||||
}
|
}
|
||||||
}, [authority, navigate]);
|
}, [authority, navigate]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue