setting up files
This commit is contained in:
15
app/onboarding/layout.tsx
Normal file
15
app/onboarding/layout.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { OnboardingAuthGate } from "@/components/layout/onboarding-auth-gate";
|
||||
|
||||
export default function OnboardingLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<Suspense fallback={<div className="min-h-svh bg-background" />}>
|
||||
<OnboardingAuthGate>{children}</OnboardingAuthGate>
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user