From 3b466589463522ded2f172474a0de533ef02d92c Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 6 Sep 2024 09:52:38 +0700
Subject: <iman> back to code

---
 src/lib/home/components/CategoryDynamic.jsx | 21 ---------------------
 1 file changed, 21 deletions(-)

(limited to 'src/lib/home/components/CategoryDynamic.jsx')

diff --git a/src/lib/home/components/CategoryDynamic.jsx b/src/lib/home/components/CategoryDynamic.jsx
index 11a15d6d..14015e28 100644
--- a/src/lib/home/components/CategoryDynamic.jsx
+++ b/src/lib/home/components/CategoryDynamic.jsx
@@ -14,27 +14,6 @@ import { Navigation, Pagination, Autoplay } from 'swiper';
 
 const CategoryDynamic = () => {
 
-  const [manufactures, setManufactures] = useState([])
-  const loadBrand = useCallback(async () => {
-    // setIsLoading(true)
-    //Get brand from odoo
-    /*const result = await odooApi(
-      'GET',
-      `/api/v1/manufacture?limit=0&offset=${manufactures.length}&name=${name}`
-    )*/
-
-    // Change get brands from solr
-    const items = await fetchPopulerProductSolr();
-
-    console.log("items",items)
-    
-    // setIsLoading(false)
-    // setManufactures((manufactures) => [...result.data])
-  }, [])
-
-  useEffect(() => {
-    loadBrand()
-  }, [loadBrand])
   const { categoryManagement } = useCategoryManagement();
   // const [categoryData, setCategoryData] = useState({});
   // const [subCategoryData, setSubCategoryData] = useState({});
-- 
cgit v1.2.3

