Skip to content

Commit

Permalink
Update Date Range Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mecrano authored Apr 10, 2024
1 parent 12b5038 commit c89e8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/admin/dashboard/AffiliateOrdersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c89e8e5

Please sign in to comment.