diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-03-08 16:59:11 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-03-14 20:03:08 +0000 |
commit | 15e088d040984e033a74877b5e42babeb365ded9 (patch) | |
tree | 0eb06082e2e46e627ae5de1065e1b35f34d9b8c3 /server/sonar-web/src/main/js/apps/tutorials | |
parent | 80bdd0543ac958ae1a6684c638ee569cfd3d2721 (diff) | |
download | sonarqube-15e088d040984e033a74877b5e42babeb365ded9.tar.gz sonarqube-15e088d040984e033a74877b5e42babeb365ded9.zip |
SONAR-15913 Extract users from redux
Diffstat (limited to 'server/sonar-web/src/main/js/apps/tutorials')
-rw-r--r-- | server/sonar-web/src/main/js/apps/tutorials/components/TutorialsApp.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/tutorials/components/TutorialsApp.tsx b/server/sonar-web/src/main/js/apps/tutorials/components/TutorialsApp.tsx index 8cf1218ab0e..bce81dc134d 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/components/TutorialsApp.tsx +++ b/server/sonar-web/src/main/js/apps/tutorials/components/TutorialsApp.tsx @@ -18,12 +18,12 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; -import { withCurrentUser } from '../../../components/hoc/withCurrentUser'; +import withCurrentUserContext from '../../../app/components/current-user/withCurrentUserContext'; import TutorialSelection from '../../../components/tutorials/TutorialSelection'; import handleRequiredAuthentication from '../../../helpers/handleRequiredAuthentication'; -import { isLoggedIn } from '../../../helpers/users'; import { ProjectAlmBindingResponse } from '../../../types/alm-settings'; -import { Component, CurrentUser } from '../../../types/types'; +import { Component } from '../../../types/types'; +import { CurrentUser, isLoggedIn } from '../../../types/users'; export interface TutorialsAppProps { component: Component; @@ -50,4 +50,4 @@ export function TutorialsApp(props: TutorialsAppProps) { ); } -export default withCurrentUser(TutorialsApp); +export default withCurrentUserContext(TutorialsApp); |