From 10c2810038c2c48198bbecb75bae76c68631c8ab Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Thu, 28 Aug 2025 08:28:42 -0500 Subject: [PATCH] lint errors --- frontend/src/pages/History/History.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/History/History.js b/frontend/src/pages/History/History.js index 3ac932e..ecff2b1 100644 --- a/frontend/src/pages/History/History.js +++ b/frontend/src/pages/History/History.js @@ -20,12 +20,16 @@ const History = () => { const [showViewModal, setShowViewModal] = useState(false); const [viewingApplication, setViewingApplication] = useState(null); const [selectedPropertyDetails, setSelectedPropertyDetails] = useState(null); - const [dateFilter, setDateFilter] = useState('all'); // all, today, week, month + const [dateFilter, setDateFilter] = useState('all'); // all, today, week, month, custom + const [dateRangeStart, setDateRangeStart] = useState(''); + const [dateRangeEnd, setDateRangeEnd] = useState(''); const [sortBy, setSortBy] = useState('date'); // date, area, duration const [statusFilter, setStatusFilter] = useState('all'); // all, completed, archived const [propertyFilter, setPropertyFilter] = useState('all'); - const [productFilter, setProductFilter] = useState('all'); + const [selectedProducts, setSelectedProducts] = useState([]); + const [applicationTypeFilter, setApplicationTypeFilter] = useState('all'); // all, granular, liquid const [showFilters, setShowFilters] = useState(false); + const [showProductDropdown, setShowProductDropdown] = useState(false); // Calculate coverage percentage based on GPS tracking and equipment specifications const calculateCoverage = (application, log) => {