Spaces:
Running
Running
Download web/src/app/(app)/layout.tsx from Aynkhn/WorkPilot-AI: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/Aynkhn/WorkPilot-AI/resolve/main/web/src/app/(app)/layout.tsx
- Command line
-
hf download 'hf://spaces/Aynkhn/WorkPilot-AI/web/src/app/(app)/layout.tsx'
-
curl -L -o layout.tsx 'https://huggingface.co/spaces/Aynkhn/WorkPilot-AI/resolve/main/web/src/app/(app)/layout.tsx'
461 Bytes
| 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> | |
| ); | |
| } | |