Sfoglia il codice sorgente

fix random relaod

master
azri 1 mese fa
parent
commit
df3edcc5d9
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0
    1
      src/components/SideCart/SideCart.jsx

+ 0
- 1
src/components/SideCart/SideCart.jsx Vedi File

@@ -15,7 +15,6 @@ const SideCart = ({ open, onClose }) => {
15 15
 
16 16
   useEffect(() => {
17 17
 
18
-    if (cart?.lines?.nodes?.length == 0) window.location.href = "/"
19 18
     setCartProducts(cart?.lines?.nodes || [])
20 19
 
21 20
   }, [cart])

Loading…
Annulla
Salva