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.js6
1 files changed, 4 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 3acdafc99ad..810fcf755fd 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
@@ -22,8 +22,9 @@ import React from 'react';
import { AutoSizer } from 'react-virtualized';
import ZoomTimeLine from '../../../components/charts/ZoomTimeLine';
import { hasHistoryData } from '../utils';
-import type { Serie } from '../../../components/charts/AdvancedTimeline';
+/*:: import type { Serie } from '../../../components/charts/AdvancedTimeline'; */
+/*::
type Props = {
graphEndDate: ?Date,
graphStartDate: ?Date,
@@ -34,8 +35,9 @@ type Props = {
showAreas?: boolean,
updateGraphZoom: (from: ?Date, to: ?Date) => void
};
+*/
-export default function GraphsZoom(props: Props) {
+export default function GraphsZoom(props /*: Props */) {
const { loading } = props;
if (loading || !hasHistoryData(props.series)) {
return null;