You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nextjs/docs.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -251,10 +251,10 @@ LOCATION: in the root of the application or inside an src folder.
251
251
==============================
252
252
Changes:
253
253
- Create or update the instrumentation-client.${
254
-
language==='typescript' ? 'tsx' : 'jsx'
254
+
language==='typescript' ? 'ts' : 'js'
255
255
} file to use the PostHog client. If the file does not exist yet, create it.
256
256
- Do *not* import instrumentation-client.${
257
-
language==='typescript' ? 'tsx' : 'jsx'
257
+
language==='typescript' ? 'ts' : 'js'
258
258
} in any other file; Next.js will automatically handle it.
259
259
- Do not modify any other pages/components in the Next.js application; the PostHog client will be automatically initialized and handle all pageview tasks on its own.
0 commit comments