diff --git a/dashboard/src/components/Card.js b/dashboard/src/components/Card.js index 9dc13af47..60f4868f1 100644 --- a/dashboard/src/components/Card.js +++ b/dashboard/src/components/Card.js @@ -1,7 +1,7 @@ import React from 'react'; import HelpButtonAndModal from './HelpButtonAndModal'; -const Card = ({ title, count, unit, children, countId, dataTestId, help = null, onClick = null }) => { +const Card = ({ title, count, unit, children, countId, dataTestId, help, onClick = null }) => { const Component = !!onClick ? 'button' : 'div'; const props = !!onClick ? { onClick, type: 'button', name: 'card', className: 'button-cancel' } : {}; return ( diff --git a/dashboard/src/components/EvolutiveStatsViewer.tsx b/dashboard/src/components/EvolutiveStatsViewer.tsx index 281c64caa..61474dd6e 100644 --- a/dashboard/src/components/EvolutiveStatsViewer.tsx +++ b/dashboard/src/components/EvolutiveStatsViewer.tsx @@ -40,11 +40,6 @@ export default function EvolutiveStatsViewer({ evolutiveStatsIndicators, period, const field = indicatorsBase.find((field) => field.name === indicator.fieldName); - console.log({ - fieldStart, - fieldEnd, - evolutiveStatsPerson, - }); if (fieldEnd == null) { return ( <> @@ -65,14 +60,6 @@ export default function EvolutiveStatsViewer({ evolutiveStatsIndicators, period, const valueStart = evolutiveStatsPerson[indicator.fieldName][fieldStart][startDateFormatted.format('YYYYMMDD')]; const valueEnd = evolutiveStatsPerson[indicator.fieldName][fieldEnd][endDateFormatted.format('YYYYMMDD')]; - console.log({ - fieldStart, - fieldEnd, - valueStart, - valueEnd, - evolutiveStatsPerson, - }); - return (