aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js')
-rw-r--r--server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js b/server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js
index 0160d85a65b..d9b69a1ccf7 100644
--- a/server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js
+++ b/server/sonar-web/src/main/js/apps/projectActivity/components/GraphsZoom.js
@@ -19,7 +19,7 @@
*/
// @flow
import React from 'react';
-import { AutoSizer } from 'react-virtualized';
+import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
import ZoomTimeLine from '../../../components/charts/ZoomTimeLine';
import { hasHistoryData } from '../utils';
/*:: import type { Serie } from '../../../components/charts/AdvancedTimeline'; */
@@ -28,7 +28,7 @@ import { hasHistoryData } from '../utils';
type Props = {
graphEndDate: ?Date,
graphStartDate: ?Date,
- leakPeriodDate: Date,
+ leakPeriodDate?: Date,
loading: boolean,
metricsType: string,
series: Array<Serie>,