diff --git a/packages/core/admin/ee/admin/hooks/useLicenseLimitNotification/index.js b/packages/core/admin/ee/admin/hooks/useLicenseLimitNotification/index.js index 85a3c41d5c..5c3d1b63d9 100644 --- a/packages/core/admin/ee/admin/hooks/useLicenseLimitNotification/index.js +++ b/packages/core/admin/ee/admin/hooks/useLicenseLimitNotification/index.js @@ -5,7 +5,7 @@ */ import { useEffect } from 'react'; import { useIntl } from 'react-intl'; -import { useLocation } from 'react-router'; +import { useLocation } from 'react-router-dom'; import { useNotification } from '@strapi/helper-plugin'; import isNil from 'lodash/isNil'; import useLicenseLimits from '../useLicenseLimits';