From 36e877845f5b3240ed383ce3ab42624e8b7d4357 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 2 Aug 2024 17:00:20 +0700 Subject: update unchek cart --- src-migrate/pages/shop/cart/index.tsx | 87 ++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/src-migrate/pages/shop/cart/index.tsx b/src-migrate/pages/shop/cart/index.tsx index 3bc857a6..8d9ea91c 100644 --- a/src-migrate/pages/shop/cart/index.tsx +++ b/src-migrate/pages/shop/cart/index.tsx @@ -33,8 +33,6 @@ const CartPage = () => { const { setRefreshCart } = useProductCartContext() const [isTop, setIsTop] = useState(true); - - console.log("lokasi",window.scrollY) useEffect(() => { const handleScroll = () => { setIsTop(window.scrollY < 200); @@ -120,48 +118,51 @@ const CartPage = () => { return ( <> -
Keranjang Belanja
-
-
-
- {isLoad && ( - - )} - {!isLoad && ( - - )} -

- {hasSelectedAll ? "Unchek all" : "Select all"} -

-
-
- - - +
+
Keranjang Belanja
+
+
+
+ {isLoad && ( + + )} + {!isLoad && ( + + )} +

+ {hasSelectedAll ? "Unchek all" : "Select all"} +

+
+ + + +
+
+
-- cgit v1.2.3