aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/startReactApp.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/utils/startReactApp.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
index 2b03991f6e3..0448a4f94b2 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
@@ -60,6 +60,7 @@ import webhooksRoutes from '../../apps/webhooks/routes';
import withIndexationGuard from '../../components/hoc/withIndexationGuard';
import { lazyLoadComponent } from '../../components/lazyLoadComponent';
import getHistory from '../../helpers/getHistory';
+import { AppState, CurrentUser } from '../../types/types';
import App from '../components/App';
import GlobalContainer from '../components/GlobalContainer';
import { PageContext } from '../components/indexation/PageUnavailableDueToIndexation';
@@ -279,8 +280,8 @@ function renderAdminRoutes() {
export default function startReactApp(
lang: string,
- currentUser?: T.CurrentUser,
- appState?: T.AppState
+ currentUser?: CurrentUser,
+ appState?: AppState
) {
attachToGlobal();