MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / App

Function App

apps/webapp/app/root.tsx:93–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93function 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
125export default App;

Callers

nothing calls this directly

Calls 2

usePostHogFunction · 0.90
useHighlightFunction · 0.90

Tested by

no test coverage detected