summaryrefslogtreecommitdiff
path: root/src/lib/product/components/ProductSearch.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
commitb4abdb00ef83aa824e8a05d5b75df48adb7b9629 (patch)
tree86ce2454793fe31b54a87f151433cbf86dbed134 /src/lib/product/components/ProductSearch.jsx
parent31816dc3a6cb62e1480524c8f0065a7835fefdcd (diff)
semi dynamic page
Diffstat (limited to 'src/lib/product/components/ProductSearch.jsx')
-rw-r--r--src/lib/product/components/ProductSearch.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index 76dba005..2233925d 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -137,7 +137,9 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
</>
)}
</>
- ) : SpellingComponent}
+ ) : (
+ SpellingComponent
+ )}
</div>
{productFound > 0 && (
@@ -205,7 +207,9 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
</>
)}
</>
- ) : SpellingComponent}
+ ) : (
+ SpellingComponent
+ )}
</div>
<div className='justify-end flex '>
<div className='ml-3'>