SurfSense/surfsense_web/app/auth/callback/page.tsx

14 lines
435 B
TypeScript

"use client";
import { Suspense } from "react";
import TokenHandler from "@/components/TokenHandler";
export default function AuthCallbackPage() {
// Suspense fallback returns null - the GlobalLoadingProvider handles the loading UI
// TokenHandler uses useGlobalLoadingEffect to show the loading screen
return (
<Suspense fallback={null}>
<TokenHandler redirectPath="/dashboard" tokenParamName="token" />
</Suspense>
);
}