diff --git a/packages/remix/README.md b/packages/remix/README.md index fbf8480d5e25..9260def2b700 100644 --- a/packages/remix/README.md +++ b/packages/remix/README.md @@ -90,23 +90,6 @@ function App() { export default withSentry(App); ``` -You can disable or configure `ErrorBoundary` using a second parameter to `withSentry`. - -```ts - -withSentry(App, { - wrapWithErrorBoundary: false -}); - -// or - -withSentry(App, { - errorBoundaryOptions: { - fallback:
An error has occurred
- } -}); -``` - To set context information or send manual events, use the exported functions of `@sentry/remix`. ```ts diff --git a/packages/remix/src/client/performance.tsx b/packages/remix/src/client/performance.tsx index 9d47aae36d4a..8e55c9d683c3 100644 --- a/packages/remix/src/client/performance.tsx +++ b/packages/remix/src/client/performance.tsx @@ -96,12 +96,14 @@ function startNavigationSpan(matches: RouteMatch, R extends React.ComponentType
>( OrigApp: R,