summaryrefslogtreecommitdiff
path: root/src/lib/product
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-09-12 10:33:12 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-09-12 10:33:12 +0700
commit05328fd8972bfd6f4a14a036603b70ba35386a14 (patch)
treeb991a49a38fd364e749086830fdd89aa1f209f8a /src/lib/product
parent914729a0d6ba9a9dd32d308954642439fa88c1d2 (diff)
parent375365d46144e6f20bf7d4ffee1f52e6400cf214 (diff)
Merge branch 'release' into CR/product_detail
Diffstat (limited to 'src/lib/product')
-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 ? (