Skip to content

Commit

Permalink
Update docs/platforms/javascript/guides/solid/features/solid-router.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea authored Jun 12, 2024
1 parent 8985b13 commit 917759a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The routing instrumentation supports [Solid Router](https://docs.solidjs.com/sol
To get started, add `Sentry.solidRouterBrowserTracingIntegration` instead of the regular `Sentry.browserTracingIntegration`
and provide the hooks it needs to enable performance tracing:

`useBeforeLeave` from `@solidjs/router`
`useLocation` from `@solidjs/router`
- `useBeforeLeave` from `@solidjs/router`
- `useLocation` from `@solidjs/router`

Make sure `Sentry.solidRouterBrowserTracingIntegration` is initialized by your `Sentry.init` call, before you wrap
`Router`. Otherwise, the routing instrumentation may not work properly.
Expand Down

0 comments on commit 917759a

Please sign in to comment.