From 5935807a2db915bf17d71523107a51f06d586337 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Wed, 24 Feb 2021 13:55:02 +0530 Subject: more improvement --- modern/src/admin/StatisticsPage.js | 46 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'modern') diff --git a/modern/src/admin/StatisticsPage.js b/modern/src/admin/StatisticsPage.js index b7fb4748..1e440a46 100644 --- a/modern/src/admin/StatisticsPage.js +++ b/modern/src/admin/StatisticsPage.js @@ -65,29 +65,29 @@ const Filter = ({ setItems }) => { {t('reportPreviousMonth')} {t('reportCustom')} - - {period === 'custom' && ( - setFrom(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} - fullWidth /> - )} - {period === 'custom' && ( - setTo(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} - fullWidth /> - )} - - + + {period === 'custom' && ( + setFrom(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} + fullWidth /> + )} + {period === 'custom' && ( + setTo(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} + fullWidth /> + )} + + ) } -- cgit v1.2.3