Skip to content

Commit f28f802

Browse files
committed
ref(remix): Import the route provider API from @sentry/react
1 parent f118b41 commit f28f802

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎packages/remix/src/client/routeProvider.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { RouteProvider } from '@sentry/core/browser';
2-
import { createUrlRouteProvider } from '@sentry/core/browser';
1+
import type { RouteProvider } from '@sentry/react';
2+
import { createUrlRouteProvider } from '@sentry/react';
33
import { maybeParameterizeRemixRoute } from './remixRouteParameterization';
44

55
/**

‎packages/remix/src/client/sdk.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Client } from '@sentry/core';
22
import { applySdkMetadata } from '@sentry/core';
3-
import { setRouteProvider } from '@sentry/core/browser';
4-
import { init as reactInit } from '@sentry/react';
3+
import { init as reactInit, setRouteProvider } from '@sentry/react';
54
import type { RemixOptions } from '../utils/remixOptions';
65
import { createRemixRouteProvider } from './routeProvider';
76

0 commit comments

Comments
 (0)