seo uodate

This commit is contained in:
Samandar Turgunboyev
2025-12-23 12:18:53 +05:00
parent 61a4f981de
commit c2a4064951
17 changed files with 831 additions and 32 deletions

View File

@@ -82,8 +82,10 @@ const Navbar = () => {
if (cartItems) {
const total = cartItems.reduce((sum, item) => sum + item.quantity, 0);
setCartQuenty(total > 9 ? 9 : total);
} else if (cart_id === null) {
setCartQuenty(0);
}
}, [cartItems]);
}, [cartItems, cart_id]);
useEffect(() => {
setQuery(queryFromUrl);