fix invite
This commit is contained in:
1 parent
3c71583324
commit
b88c46a6a1
9 files changed
+507
-184
No files matched your search
@@ -16,7 +16,8 @@ export const AuthVerifier = ({ children }: { children: ReactNode }) => {
|
||||
const location = useLocation();
|
||||
const isAuthRoute =
|
||||
["/login", "/register"].includes(location.pathname) ||
|
||||
location.pathname.startsWith("/recovery");
|
||||
location.pathname.startsWith("/recovery") ||
|
||||
location.pathname.startsWith("/register/");
|
||||
const isPublicRoute = location.pathname.startsWith("/status-pages/public");
|
||||
|
||||
const [isVerifying, setIsVerifying] = useState(true);
|
||||
|
||||
Reference in new issue
Block a user