From 09eb852c7da07f7ae780039d6304f000dfc548bf Mon Sep 17 00:00:00 2001 From: alaa-yahia Date: Tue, 12 Nov 2024 14:46:31 +0200 Subject: [PATCH] fix: flow errors --- .../components/FiltersForTypes/Date/DateFilter.component.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core_modules/capture-core/components/FiltersForTypes/Date/DateFilter.component.js b/src/core_modules/capture-core/components/FiltersForTypes/Date/DateFilter.component.js index 583a876cce..c326e4477b 100644 --- a/src/core_modules/capture-core/components/FiltersForTypes/Date/DateFilter.component.js +++ b/src/core_modules/capture-core/components/FiltersForTypes/Date/DateFilter.component.js @@ -181,6 +181,7 @@ class DateFilterPlain extends Component implements UpdatableFilter const momentFrom = parseDate(valueFrom).momentDate; const momentTo = parseDate(valueTo).momentDate; // $FlowFixMe[incompatible-use] automated comment + // $FlowFixMe[incompatible-call] automated comment return momentFrom.isAfter(momentTo); }