Skip to content

Commit 26c3f34

Browse files
committed
fix: linting issue
1 parent a899901 commit 26c3f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shop/CartIcon.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function CartIcon() {
1111

1212
useEffect(() => {
1313
// Event listener for storage changes in other tabs/windows
14-
const handleStorageChange = (e) => {
14+
const handleStorageChange = () => {
1515
const storedProducts = localStorage.getItem("swagList");
1616
setCartProducts(storedProducts ? JSON.parse(storedProducts) : []);
1717
};

0 commit comments

Comments
 (0)