diff --git a/src/views/Inventory/Inventory.js b/src/views/Inventory/Inventory.js index d32d0b8..c86fcf3 100644 --- a/src/views/Inventory/Inventory.js +++ b/src/views/Inventory/Inventory.js @@ -8,7 +8,7 @@ import debounce from "lodash.debounce"; const Inventory = () => { const token = isAutheticated(); const [loading, setLoading] = useState(false); - const [inventoryData, setInventoryData] = useState([]); + // const [inventoryData, setInventoryData] = useState([]); const [filteredData, setFilteredData] = useState([]); const nameRef = useRef(); @@ -52,7 +52,7 @@ const Inventory = () => { updatedAt: entry.updatedAt, })) || []; - setInventoryData(transformedData); + // setInventoryData(transformedData); setTotalData(response.data?.total_data || 0); // Apply the filter after data is fetched