diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2024-09-12 03:19:01 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2024-09-12 03:19:01 +0000 |
| commit | 375365d46144e6f20bf7d4ffee1f52e6400cf214 (patch) | |
| tree | 7c5ebb2547716782301fce7d27d2cf478755d2b8 /src/lib | |
| parent | 46faf7e7ba398a4137e93559b2efa5abf3df9663 (diff) | |
| parent | 3918b401286243a6ceb376d267b802b87f1b1a2f (diff) | |
Merged in CR/search_enggine (pull request #308)
CR/search enggine
Diffstat (limited to 'src/lib')
| -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 ab55cae0..1edc31c9 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -381,6 +381,8 @@ const ProductSearch = ({ }; const isNotReadyStockPage = router.asPath !== '/shop/search?orderBy=stock'; + + console.log('is spelling', spellings); return ( <> <MobileView> @@ -574,7 +576,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 ? ( |
