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

15 lines
435 B
TypeScript
Raw Normal View History

"use client";
2025-07-27 10:05:37 -07:00
import { Suspense } from "react";
import TokenHandler from "@/components/TokenHandler";
2025-04-07 23:47:06 -07:00
export default function AuthCallbackPage() {
// Suspense fallback returns null - the GlobalLoadingProvider handles the loading UI
// TokenHandler uses useGlobalLoadingEffect to show the loading screen
2025-07-27 10:05:37 -07:00
return (
<Suspense fallback={null}>
<TokenHandler redirectPath="/dashboard" tokenParamName="token" />
</Suspense>
2025-07-27 10:05:37 -07:00
);
}