diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-08-28 09:47:39 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-08-28 09:47:39 +0700 |
| commit | af6494b92528cee8fae7173e8290c4ebbc334efa (patch) | |
| tree | 16b5097f66e4c36132dfb1206c8ee37a6e2f25b0 /src/lib/product | |
| parent | 2dbd2eb810855b364b0fd529cc0e912cc303152b (diff) | |
handling ready to ship
Diffstat (limited to 'src/lib/product')
| -rw-r--r-- | src/lib/product/components/ProductSearch.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index eaeac71a..d6e649a8 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -382,6 +382,8 @@ const ProductSearch = ({ }; const isNotReadyStockPage = router.asPath !== '/shop/search?orderBy=stock'; + + console.log('is spelling', spellings); return ( <> <MobileView> @@ -575,7 +577,7 @@ const ProductSearch = ({ /> <div className='flex justify-between items-center mb-5'> <div className='leading-6 text-gray_r-11'> - {!spellings ? ( + {spellings?.length < 1 || !spellings ? ( <> Menampilkan {pageCount > 1 ? ( |
