From 8a65672f8cc64c5c3ac61ceb39a9ffa78bda4cdf Mon Sep 17 00:00:00 2001 From: jajjibhai008 Date: Thu, 14 Nov 2024 16:41:27 +0500 Subject: [PATCH] fix: csv name issue in analytics v2 --- .../AdvanceAnalyticsV2/AnalyticsV2Page.jsx | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/AdvanceAnalyticsV2/AnalyticsV2Page.jsx b/src/components/AdvanceAnalyticsV2/AnalyticsV2Page.jsx index 9f6c649c3..1401e6e9a 100644 --- a/src/components/AdvanceAnalyticsV2/AnalyticsV2Page.jsx +++ b/src/components/AdvanceAnalyticsV2/AnalyticsV2Page.jsx @@ -22,8 +22,8 @@ const AnalyticsV2Page = ({ enterpriseId }) => { const [activeTab, setActiveTab] = useState('enrollments'); const [granularity, setGranularity] = useState(GRANULARITY.WEEKLY); const [calculation, setCalculation] = useState('Total'); - const [startDate, setStartDate] = useState(''); - const [endDate, setEndDate] = useState(''); + const [startDate, setStartDate] = useState(); + const [endDate, setEndDate] = useState(); const intl = useIntl(); const { isFetching, isError, data } = useEnterpriseAnalyticsAggregatesData({ enterpriseCustomerUUID: enterpriseId, @@ -195,7 +195,6 @@ const AnalyticsV2Page = ({ enterpriseId }) => {
{ setActiveTab(tab); @@ -210,8 +209,8 @@ const AnalyticsV2Page = ({ enterpriseId }) => { })} > { })} > { })} > { })} > @@ -272,8 +271,8 @@ const AnalyticsV2Page = ({ enterpriseId }) => { })} >