Skip to content

Commit aea43f6

Browse files
authored
add missing onRouterTransitionStart (supabase#37968)
* add missing onRouterTransitionStart * Update apps/studio/instrumentation-client.ts
1 parent 5bbe3b4 commit aea43f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/studio/instrumentation-client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,6 @@ function standardiseRouterUrl(url: string) {
152152

153153
return finalUrl
154154
}
155+
156+
// This export will instrument router navigations, and is only relevant if you enable tracing.
157+
export const onRouterTransitionStart = Sentry.captureRouterTransitionStart

turbo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"NEXT_PUBLIC_GOTRUE_URL",
6363
"NEXT_PUBLIC_VERCEL_BRANCH_URL",
6464
"NEXT_PUBLIC_GOOGLE_MAPS_KEY",
65+
"NEXT_RUNTIME",
6566
"NODE_ENV",
6667
"SUPABASE_URL",
6768
// These envs are used in the packages

0 commit comments

Comments
 (0)