From c89e8e5896a0bf6c4b1a2424f5cbff47f0cd297e Mon Sep 17 00:00:00 2001 From: Edwin Obando Date: Wed, 10 Apr 2024 12:11:57 -0300 Subject: [PATCH] Update Date Range Filter --- react/components/admin/dashboard/AffiliateOrdersTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/components/admin/dashboard/AffiliateOrdersTable.tsx b/react/components/admin/dashboard/AffiliateOrdersTable.tsx index bee198d2..eb720716 100644 --- a/react/components/admin/dashboard/AffiliateOrdersTable.tsx +++ b/react/components/admin/dashboard/AffiliateOrdersTable.tsx @@ -141,7 +141,7 @@ const AffiliateOrdersTable: FC = () => { ? new Date(query.endDate) : new Date() - minInitialDate.setMonth(minInitialDate.getMonth() - 3) + minInitialDate.setMonth(minInitialDate.getMonth() - 6) const [startDate, setStartDate] = useState(startDateInitialValue) const [endDate, setEndDate] = useState(endDateInitialValue) // We need to do this because of a circular dependency