MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / RootComponent

Function RootComponent

apps/cloud/src/routes/__root.tsx:144–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144function RootComponent() {
145 // SPA mode: no per-request server render, so nothing is dehydrated. Auth
146 // seeds from the client-readable hint cookie one frame after mount
147 // (AuthProvider's own fallback), and origin-derived UI reads the
148 // window-derived global.
149 return (
150 <PostHogProvider client={posthog}>
151 <AnalyticsProvider client={analyticsClient}>
152 <AuthProvider>
153 <AuthGate />
154 </AuthProvider>
155 </AnalyticsProvider>
156 </PostHogProvider>
157 );
158}
159
160// Neutral, layout-free placeholder for the moments no UI is correct yet: a
161// redirect in flight, or the (post-gate, near-impossible) hint-less verified

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected