summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/product/components/ProductSearch.jsx2
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]);