Skip to content

Commit

Permalink
feat: Removes staff section
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossein-Asadi committed Jan 14, 2025
1 parent 2bd1bd4 commit 74bf06a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/app-bar/AppBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export default function DrawerAppBar() {
};

const shouldShowRoute = (route) => {
if(route.title === 'Staff'){
return false;
}
if (route.title === 'Signup') {
if (accessToken || refreshToken) {
return false;
Expand Down

0 comments on commit 74bf06a

Please sign in to comment.