From 63d5528a04ce8a2667c7a4a81e2d43676111c05e Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 30 Oct 2023 10:13:41 +0700 Subject: logo brand di page search mobile --- src/lib/product/components/ProductSearch.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx index 190d026b..b25311cf 100644 --- a/src/lib/product/components/ProductSearch.jsx +++ b/src/lib/product/components/ProductSearch.jsx @@ -87,7 +87,6 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null, brand = null }) `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/brands?params=search&q=${q}` ) setIsBrand(brand?.data[0]) - } checkIfBrand() }, [q]) @@ -225,6 +224,12 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null, brand = null }) {productSearch.isLoading && }
+ {isBrand && isBrand.logo && ( +
+

Brand Pencarian {q}

+ +
+ )}

Produk