From 5a2a24cd5ebee072c6b4520bd1f1b771c7718736 Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Sat, 9 Mar 2024 16:13:38 +0000 Subject: [PATCH] Fix lint issue (#71) --- src/components/Item.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Item.jsx b/src/components/Item.jsx index d430b3b0..e18d27ed 100644 --- a/src/components/Item.jsx +++ b/src/components/Item.jsx @@ -12,7 +12,6 @@ export const Item = ({ item }) => { const [bids, setBids] = useState(0); const [amount, setAmount] = useState(item.startingPrice); const [timeLeft, setTimeLeft] = useState(""); - const [biddingComplete, setBiddingComplete] = useState(false); useEffect(() => { const status = itemStatus(item); @@ -30,7 +29,6 @@ export const Item = ({ item }) => { requestAnimationFrame(updateTimer); } else { setTimeLeft("Item Ended"); - setBiddingComplete(true); } };