Skip to content

Commit

Permalink
fix(react): Use namespace import for react router v6 (#7330)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverJAsh committed Mar 6, 2023
1 parent 770ae30 commit 0e63e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/reactrouterv6.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { WINDOW } from '@sentry/browser';
import type { Transaction, TransactionContext, TransactionSource } from '@sentry/types';
import { getNumberOfUrlSegments, logger } from '@sentry/utils';
import hoistNonReactStatics from 'hoist-non-react-statics';
import React from 'react';
import * as React from 'react';

import type {
Action,
Expand Down

0 comments on commit 0e63e3a

Please sign in to comment.