From 936f7f9fb1c6951e02dd8a5f7e85fb8d39cc7e6a Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 28 Jun 2024 10:23:57 +0700
Subject: <iman> delete console.log

---
 src/pages/shop/promo/index.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/pages/shop/promo/index.tsx')

diff --git a/src/pages/shop/promo/index.tsx b/src/pages/shop/promo/index.tsx
index 89e88e29..7ec4f6b0 100644
--- a/src/pages/shop/promo/index.tsx
+++ b/src/pages/shop/promo/index.tsx
@@ -25,10 +25,10 @@ export default function Promo() {
     const loadPromo = async () => {
       try {
         const items = await fetchPromoItemsSolr(`*:*`)
-        console.log("slug sekarang ", slug)
+        
         
         setPromoItems(items)
-        console.log("data dari promotion pakai SOLR", items)
+        
 
         if (items.length === 0) {
           setPromoData([])
@@ -38,17 +38,17 @@ export default function Promo() {
 
         const promoDataPromises = items.map(async (item) => {
           const queryParams = new URLSearchParams({ q: `id:${item.id}` })
-          console.log("Constructed URL:", `/solr/promotion_program_lines/select?${queryParams.toString()}`)
+          
 
           try {
             const response = await fetch(`/solr/promotion_program_lines/select?${queryParams.toString()}`)
-            console.log("respon data ", response)
+            
             if (!response.ok) {
               throw new Error(`HTTP error! status: ${response.status}`)
             }
 
             const data: SolrResponse<any[]> = await response.json()
-            console.log("data promo IPromotion[]", data)
+            
             
             const promotions = await map(data.response.docs)
             return promotions;
@@ -100,7 +100,7 @@ export default function Promo() {
     return result
   }
 
-  console.log("data yg dikirim ke ProductPromoCard", promoData)
+  
   
 
   useEffect(() => {
-- 
cgit v1.2.3

