fix: update the hoppscotch-sh-admin magic link route to match hoppscotch-app (#3029)
This commit is contained in:
parent
caedfe5c1e
commit
6581eb4fd1
2 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const isAdmin = () => {
|
|||
return user ? user.isAdmin : false;
|
||||
};
|
||||
|
||||
const GUEST_ROUTES = ['index', 'magic-link'];
|
||||
const GUEST_ROUTES = ['index', 'enter'];
|
||||
|
||||
const isGuestRoute = (to: unknown) => GUEST_ROUTES.includes(to as string);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue