fix invite

This commit is contained in:
Alex Holliday committed 2025-11-21 23:44:20 +00:00
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);