16 lines
342 B
TypeScript
16 lines
342 B
TypeScript
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>
|
|
);
|
|
}
|