aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx
diff options
context:
space:
mode:
authorIsmail Cherri <ismail.cherri@sonarsource.com>2024-04-22 18:02:41 +0200
committerMatteo Mara <matteo.mara@sonarsource.com>2024-04-30 10:59:03 +0200
commit43832d162a17dddc79627333d32f70f11923a93d (patch)
tree51040d6c494319915b39ba507947fcbc904476be /server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx
parentcdeb0429be4e9e4c1590e2333bd780e5fa9d1a65 (diff)
downloadsonarqube-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.tsx3
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';