From 0e63e3a691fb5b593ab3ae096ccce428213aa789 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Mon, 6 Mar 2023 10:16:53 +0000 Subject: [PATCH] fix(react): Use namespace import for react router v6 (#7330) --- packages/react/src/reactrouterv6.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/reactrouterv6.tsx b/packages/react/src/reactrouterv6.tsx index 2f82b8167120..bc917ff12508 100644 --- a/packages/react/src/reactrouterv6.tsx +++ b/packages/react/src/reactrouterv6.tsx @@ -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,