From 6d89fa79c9fdbb1961b15a463250f28e5c684b4a Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 16 Oct 2024 13:33:00 +0700
Subject: <iman> delete console log

---
 src/lib/product/components/Product/ProductDesktopVariant.jsx | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src/lib/product/components/Product/ProductDesktopVariant.jsx')

diff --git a/src/lib/product/components/Product/ProductDesktopVariant.jsx b/src/lib/product/components/Product/ProductDesktopVariant.jsx
index 55effdfb..2e005eea 100644
--- a/src/lib/product/components/Product/ProductDesktopVariant.jsx
+++ b/src/lib/product/components/Product/ProductDesktopVariant.jsx
@@ -36,8 +36,6 @@ const ProductDesktopVariant = ({
   const auth = useAuth();
   const { slug } = router.query;
 
-  console.log('ini product variant', product);
-
   const [lowestPrice, setLowestPrice] = useState(null);
 
   const [addCartAlert, setAddCartAlert] = useState(false);
-- 
cgit v1.2.3


From c64472c479ec282af9b606a76358922b25752be0 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 25 Oct 2024 15:03:53 +0700
Subject: <iman> update revisi CR

---
 src/lib/product/components/Product/ProductDesktopVariant.jsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/lib/product/components/Product/ProductDesktopVariant.jsx')

diff --git a/src/lib/product/components/Product/ProductDesktopVariant.jsx b/src/lib/product/components/Product/ProductDesktopVariant.jsx
index 2e005eea..32ce345e 100644
--- a/src/lib/product/components/Product/ProductDesktopVariant.jsx
+++ b/src/lib/product/components/Product/ProductDesktopVariant.jsx
@@ -364,14 +364,16 @@ const ProductDesktopVariant = ({
                 </button>
               </div>
               <div>
-                <span
+                <Skeleton
+                  isLoaded={sla}
+                  h='21px'
+                  // w={16}
                   className={
                     product?.sla?.qty < 10 ? 'text-red-600 font-medium' : ''
                   }
                 >
-                  {' '}
                   Stock : {product?.sla?.qty}{' '}
-                </span>
+                </Skeleton>
               </div>
               <div>
                 {product?.sla?.qty > 0 && (
-- 
cgit v1.2.3

