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 (
diff --git a/dashboard/src/recoil/evolutiveStats.ts b/dashboard/src/recoil/evolutiveStats.ts index 49b1f96c2..1d58de48b 100644 --- a/dashboard/src/recoil/evolutiveStats.ts +++ b/dashboard/src/recoil/evolutiveStats.ts @@ -135,7 +135,6 @@ export const evolutiveStatsPersonSelector = selectorFamily({ evolutiveStatsIndicators: IndicatorsSelection; }) => ({ get }) => { - const now = Date.now(); const indicatorsBase = get(evolutiveStatsIndicatorsBaseSelector); const fieldsMap: FieldsMap = indicatorsBase.reduce((acc, field) => { acc[field.name] = field; @@ -269,7 +268,6 @@ export const evolutiveStatsPersonSelector = selectorFamily({ } } } - console.log('finito evolutiveStatsPersonSelector', Date.now() - now, 'ms'); return personsFieldsInHistoryObject; }, });