setting up test functionality
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { requireOnboardingComplete } from "@/lib/auth-helpers";
|
||||
|
||||
type AppAuthGateProps = {
|
||||
children: React.ReactNode;
|
||||
};
|
||||
|
||||
export async function AppAuthGate({ children }: AppAuthGateProps) {
|
||||
await requireOnboardingComplete();
|
||||
// Temporary: allow guest access while testing app pages from the bottom nav.
|
||||
return children;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user