fixed my test page so quizzes are behind login page

This commit is contained in:
masongga
2026-05-23 19:05:25 -06:00
parent 2ed978197c
commit 9641b120e4
5 changed files with 38 additions and 17 deletions

View File

@@ -1,7 +1,10 @@
import { requireOnboardingComplete } from "@/lib/auth-helpers";
type AppAuthGateProps = {
children: React.ReactNode;
};
export async function AppAuthGate({ children }: AppAuthGateProps) {
// Temporary: allow guest access while testing app pages from the bottom nav.
await requireOnboardingComplete();
return children;
}