19 lines
448 B
TypeScript
19 lines
448 B
TypeScript
"use client";
|
|
|
|
import dynamic from "next/dynamic";
|
|
import { useRouter } from "next/navigation";
|
|
|
|
// Dynamically import to avoid SSR issues
|
|
const SuperTokensComponentNoSSR = dynamic(
|
|
() => import("@/app/components/SuperTokensAuthComponent"),
|
|
{ ssr: false }
|
|
);
|
|
|
|
export default function AuthPage() {
|
|
return (
|
|
<div className="flex min-h-screen items-center justify-center bg-background">
|
|
<SuperTokensComponentNoSSR />
|
|
</div>
|
|
);
|
|
}
|