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