()
| 142 | } |
| 143 | |
| 144 | function 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 |
nothing calls this directly
no outgoing calls
no test coverage detected