diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-19 11:23:59 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-19 11:23:59 +0700 |
| commit | 0a46a2b7b23cf64ab92837a29ad3ea4d5c81f331 (patch) | |
| tree | 1b2da5ea9b09e0958f099a5bc28114ab83941292 /src/lib/product/components/ProductSearch.jsx | |
| parent | dcfd0995a4fe85d947a96f3fffd54914a1e2e171 (diff) | |
| parent | 9ece78eabb750dbb58a329b21feebd46f09d9ead (diff) | |
Merge branch 'development' into Feature/all-promotion
Diffstat (limited to 'src/lib/product/components/ProductSearch.jsx')
| -rw-r--r-- | src/lib/product/components/ProductSearch.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index 42ea94d5..a427e134 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -142,7 +142,6 @@ const ProductSearch = ({ } }, [prefixUrl,dataCategoriesProduct, query, finalQuery]); - useEffect(() => { const checkIfPenawaran = async () => { if (router.asPath.includes('penawaran')) { @@ -159,7 +158,7 @@ const ProductSearch = ({ }; checkIfPenawaran(); }, [router]); - + const { productSearch } = useProductSearch({ query: queryFinal, operation: 'AND', |
