From bbbd7ccaab3102558dc82cbd051947b0e579360c Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 9 Aug 2024 10:55:01 +0700
Subject: <iman> back to code to avoid conflict

---
 src/pages/my/recomendation/components/products-recomendatison.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/pages/my/recomendation/components/products-recomendatison.jsx')

diff --git a/src/pages/my/recomendation/components/products-recomendatison.jsx b/src/pages/my/recomendation/components/products-recomendatison.jsx
index a610cf0d..d39d2a99 100644
--- a/src/pages/my/recomendation/components/products-recomendatison.jsx
+++ b/src/pages/my/recomendation/components/products-recomendatison.jsx
@@ -80,6 +80,7 @@ const ProductsRecomendation = ({ id }) => {
         }
       });
 
+      console.log('ini result', searchProduct.data.response);
     }
 
     return resultMapping;
@@ -111,6 +112,7 @@ const ProductsRecomendation = ({ id }) => {
       setIsLoading(false);
     } else {
       setIsLoading(false);
+      console.log('No excel data available');
     }
   };
 
@@ -127,6 +129,7 @@ const ProductsRecomendation = ({ id }) => {
       const jsonData = XLSX.utils.sheet_to_json(worksheet);
 
       setExcelData(jsonData);
+      console.log('ini json data', jsonData);
 
       setIsLoading(false);
     };
@@ -149,6 +152,7 @@ const ProductsRecomendation = ({ id }) => {
   };
 
   const handlingOtherRec = ({ product }) => {
+    console.log('ini product', product);
     const result = async () =>
       await searchRecomendation({ product, index: 0, operator: 'OR' });
 
-- 
cgit v1.2.3

