Skip to content

Commit 4c02ee2

Browse files
committed
Added information label
1 parent 401d988 commit 4c02ee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/ShopContent/ShopContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const ShopContent = () => {
168168
window.removeEventListener("resize", handleResize);
169169
clearTimeout(timeoutId);
170170
};
171-
}, []);
171+
}, [isLoadingProducts, isLoadingCategories]);
172172

173173
useEffect(() => {
174174
setCurrentPage(1);

0 commit comments

Comments
 (0)