11 lines
250 B
TypeScript
11 lines
250 B
TypeScript
import { requireOnboardingComplete } from "@/lib/auth-helpers";
|
|
|
|
type AppAuthGateProps = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export async function AppAuthGate({ children }: AppAuthGateProps) {
|
|
await requireOnboardingComplete();
|
|
return children;
|
|
}
|