Skip to content

Commit

Permalink
Fix lint issue (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmellor authored Mar 9, 2024
1 parent d0fc937 commit 5a2a24c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -30,7 +29,6 @@ export const Item = ({ item }) => {
requestAnimationFrame(updateTimer);
} else {
setTimeLeft("Item Ended");
setBiddingComplete(true);
}
};

Expand Down

0 comments on commit 5a2a24c

Please sign in to comment.