Spaces:
Running
Running
File size: 461 Bytes
03608f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { Suspense } from "react";
import { AppGate, FullPageLoading } from "@/components/shell/app-gate";
// Everything behind sign-in renders on the client (tokens live in browser memory), so the
// static shell is just a loading state and the rest streams in.
export default function AppLayout({ children }: LayoutProps<"/">) {
return (
<Suspense fallback={<FullPageLoading />}>
<AppGate>{children}</AppGate>
</Suspense>
);
}
|