summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/product/components/ProductSearch.jsx4
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&nbsp;
{pageCount > 1 ? (