Skip to content

Commit 0e63e3a

Browse files
authored
fix(react): Use namespace import for react router v6 (#7330)
1 parent 770ae30 commit 0e63e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/reactrouterv6.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { WINDOW } from '@sentry/browser';
55
import type { Transaction, TransactionContext, TransactionSource } from '@sentry/types';
66
import { getNumberOfUrlSegments, logger } from '@sentry/utils';
77
import hoistNonReactStatics from 'hoist-non-react-statics';
8-
import React from 'react';
8+
import * as React from 'react';
99

1010
import type {
1111
Action,

0 commit comments

Comments
 (0)