diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-01-25 15:04:33 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-01-25 15:04:33 +0700 |
| commit | 03822992ac1eb2fb930ca2a6298c75df44dfa527 (patch) | |
| tree | be370e3a531c4e5869c76b9f58023892b15584f0 /src/lib/product/components | |
| parent | c0b38013bb97a995148b14301d26996ef15d4c7a (diff) | |
fixing error page search muncul brand logo nya
Diffstat (limited to 'src/lib/product/components')
| -rw-r--r-- | src/lib/product/components/ProductSearch.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index ed4365a8..90e93aa0 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -105,7 +105,7 @@ const ProductSearch = ({ setIsBrand(null); } }; - if (router.pathname.includes('search')) { + if (router.pathname.includes('search') && q !== '*') { checkIfBrand(); } }, [q]); |
