Explorar el Código

fix random relaod

master
azri hace 1 mes
padre
commit
df3edcc5d9
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0
    1
      src/components/SideCart/SideCart.jsx

+ 0
- 1
src/components/SideCart/SideCart.jsx Ver fichero

@@ -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…
Cancelar
Guardar