diff options
author | Ismail Cherri <ismail.cherri@sonarsource.com> | 2024-04-22 18:02:41 +0200 |
---|---|---|
committer | Matteo Mara <matteo.mara@sonarsource.com> | 2024-04-30 10:59:03 +0200 |
commit | 43832d162a17dddc79627333d32f70f11923a93d (patch) | |
tree | 51040d6c494319915b39ba507947fcbc904476be /server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx | |
parent | cdeb0429be4e9e4c1590e2333bd780e5fa9d1a65 (diff) | |
download | sonarqube-43832d162a17dddc79627333d32f70f11923a93d.tar.gz sonarqube-43832d162a17dddc79627333d32f70f11923a93d.zip |
SONAR-22049 Align the usage of withRouter high order component
Diffstat (limited to 'server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx b/server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx index 6515ac7850e..5870119ab8b 100644 --- a/server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx @@ -21,12 +21,13 @@ import classNames from 'classnames'; import { LargeCenteredLayout } from 'design-system'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; +import { withRouter } from '~sonar-aligned/components/hoc/withRouter'; +import { Location, Router } from '~sonar-aligned/types/router'; import { getDopSettings } from '../../../api/dop-translation'; import withAvailableFeatures, { WithAvailableFeaturesProps, } from '../../../app/components/available-features/withAvailableFeatures'; import A11ySkipTarget from '../../../components/a11y/A11ySkipTarget'; -import { Location, Router, withRouter } from '../../../components/hoc/withRouter'; import { translate } from '../../../helpers/l10n'; import { AlmKeys, AlmSettingsInstance } from '../../../types/alm-settings'; import { DopSetting } from '../../../types/dop-translation'; |