diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-11 16:06:01 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-11 16:06:01 +0700 |
| commit | 584e3fd7f4d33992046557ba18ee8eeac993e650 (patch) | |
| tree | 31a7b3583fd41058d75f46efb66fb40087347e3a /src/lib/product | |
| parent | 3428180259f72c47e88712af6d2ce44d8a82988b (diff) | |
| parent | fdd6902a19ee050d97937252ef70bafa8fbe44d9 (diff) | |
Merge branch 'CR/barang-readyStock' into CR/new_product_detail
Diffstat (limited to 'src/lib/product')
| -rw-r--r-- | src/lib/product/components/Product/ProductDesktopVariant.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/product/components/Product/ProductDesktopVariant.jsx b/src/lib/product/components/Product/ProductDesktopVariant.jsx index e7a1fa4e..cca8ec5e 100644 --- a/src/lib/product/components/Product/ProductDesktopVariant.jsx +++ b/src/lib/product/components/Product/ProductDesktopVariant.jsx @@ -434,14 +434,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 && ( |
