Skip to content

Commit 56d003f

Browse files
committed
dedupe react router
1 parent 59010f0 commit 56d003f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/react/src/reactrouterv6.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import type { browserTracingIntegration } from '@sentry/browser';
2+
import type { Integration } from '@sentry/core';
23
import type { ReactRouterOptions } from './reactrouterv6-compat-utils';
34
import {
45
createReactRouterV6CompatibleTracingIntegration,
56
createV6CompatibleWithSentryReactRouterRouting,
67
createV6CompatibleWrapCreateBrowserRouter,
78
createV6CompatibleWrapUseRoutes,
89
} from './reactrouterv6-compat-utils';
9-
10-
import type { Integration } from '@sentry/core';
1110
import type { CreateRouterFunction, Router, RouterState, UseRoutes } from './types';
1211

1312
/**

packages/react/src/reactrouterv7.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// React Router v7 uses the same integration as v6
22
import type { browserTracingIntegration } from '@sentry/browser';
3-
43
import type { Integration } from '@sentry/core';
54
import type { ReactRouterOptions } from './reactrouterv6-compat-utils';
65
import {

0 commit comments

Comments
 (0)