Ver código fonte

fix random relaod

master
azri 1 mês atrás
pai
commit
df3edcc5d9
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0
    1
      src/components/SideCart/SideCart.jsx

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

@@ -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])

Carregando…
Cancelar
Salvar