From d398ea8d38509041fe863fedf7305858bbbb16fb Mon Sep 17 00:00:00 2001 From: Romain CREY <ext.sopra.rcrey@grandlyon.com> Date: Tue, 21 Jul 2020 09:42:12 +0200 Subject: [PATCH] fix: change timeStep + half hour method --- .../ContentComponents/FluidChart/FluidChartSlide.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx b/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx index d4db38f2f..a8cdc9574 100644 --- a/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx +++ b/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx @@ -115,7 +115,6 @@ const FluidChartSlide: React.FC<FluidChartSlideProps> = ({ ? selectedDate.endOf('week') : selectedDate.endOf('month').endOf('week'), } - // console.log(maxTimePeriod.startDate.c, maxTimePeriod.endDate.c) const compareMaxTimePeriod = maxTimePeriod @@ -141,8 +140,6 @@ const FluidChartSlide: React.FC<FluidChartSlideProps> = ({ setChartIsLoaded(true) } } - console.log(maxLoads) - if ( key in maxLoads === false && (timeStep === TimeStep.DAY || timeStep === TimeStep.HALF_AN_HOUR) -- GitLab