fix: update the hoppscotch-sh-admin magic link route to match hoppscotch-app (#3029)

This commit is contained in:
Akash K 2023-05-03 23:12:50 +05:30 committed by Andrew Bastin
parent caedfe5c1e
commit 6581eb4fd1
2 changed files with 1 additions and 1 deletions

View file

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