Kaynağa Gözat

fix random relaod

master
azri 1 ay önce
ebeveyn
işleme
df3edcc5d9
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0
    1
      src/components/SideCart/SideCart.jsx

+ 0
- 1
src/components/SideCart/SideCart.jsx Dosyayı Görüntüle

@@ -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…
İptal
Kaydet