From 0cae63237f24e7d130d396d6802913766468ee48 Mon Sep 17 00:00:00 2001 From: M1kola Date: Tue, 24 Jan 2023 00:08:42 +0300 Subject: [PATCH] switch report date --- src/pages/ViewReport/ViewReport.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/ViewReport/ViewReport.js b/src/pages/ViewReport/ViewReport.js index 5fa137af..119b2dad 100644 --- a/src/pages/ViewReport/ViewReport.js +++ b/src/pages/ViewReport/ViewReport.js @@ -67,7 +67,6 @@ export const ViewReport = () => { function nextDay() { reportDay.setDate(reportDay.getDate() + 1); - getCreatedDate(reportDay) getReportFromDate(getCreatedDate(reportDay)) } @@ -102,7 +101,7 @@ export const ViewReport = () => { arrow

{getCreatedDate(reportDay)}

-
nextDay()}> +
nextDay()}> arrow