mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 09:12:40 +02:00
14 lines
435 B
TypeScript
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>
|
|
);
|
|
}
|