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) {
|
||||
navigate("/admin");
|
||||
} else if (authority === 2) {
|
||||
navigate("/pm");
|
||||
} else if (authority === 3) {
|
||||
navigate("/yourProjects");
|
||||
}
|
||||
}, [authority, navigate]);
|
||||
|
|
Loading…
Add table
Reference in a new issue