()
| 91 | } |
| 92 | |
| 93 | function App() { |
| 94 | const { posthogProjectKey, highlightProjectId } = useTypedLoaderData<typeof loader>(); |
| 95 | usePostHog(posthogProjectKey); |
| 96 | useHighlight(); |
| 97 | |
| 98 | return ( |
| 99 | <> |
| 100 | {highlightProjectId && ( |
| 101 | <HighlightInit |
| 102 | projectId={highlightProjectId} |
| 103 | tracingOrigins={true} |
| 104 | networkRecording={{ enabled: true, recordHeadersAndBody: true }} |
| 105 | /> |
| 106 | )} |
| 107 | <html lang="en" className="h-full"> |
| 108 | <head> |
| 109 | <Meta /> |
| 110 | <Links /> |
| 111 | </head> |
| 112 | <body className="bg-darkBackground h-full overflow-hidden"> |
| 113 | <Outlet /> |
| 114 | <Toast /> |
| 115 | <ScrollRestoration /> |
| 116 | <ExternalScripts /> |
| 117 | <Scripts /> |
| 118 | <LiveReload /> |
| 119 | </body> |
| 120 | </html> |
| 121 | </> |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | export default App; |
nothing calls this directly
no test coverage detected