From c7b437cd0541cde9e2a829ec3c5689dc237505a8 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Tue, 26 Nov 2024 09:00:01 +0700
Subject: <iman> pengajuan tempo

---
 src/lib/pengajuan-tempo/component/Referensi.jsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'src/lib/pengajuan-tempo/component/Referensi.jsx')

diff --git a/src/lib/pengajuan-tempo/component/Referensi.jsx b/src/lib/pengajuan-tempo/component/Referensi.jsx
index b8c2f7eb..24f44728 100644
--- a/src/lib/pengajuan-tempo/component/Referensi.jsx
+++ b/src/lib/pengajuan-tempo/component/Referensi.jsx
@@ -84,6 +84,8 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => {
   };
 
   const handleDeleteSupplier = (index) => {
+    console.log('index', index);
+
     const updatedData = supplierData.filter((_, i) => i !== index);
     setSupplierData(updatedData);
     updateFormSupplier(updatedData); // Update store atau state terkait
@@ -313,10 +315,10 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => {
                       onChange={handleNewSupplierChange}
                       placeholder='limit kredit'
                     />
-                    <Trash2Icon
+                    {/* <Trash2Icon
                       size={18}
                       onClick={() => handleDeleteSupplier(index)}
-                    />
+                    /> */}
                   </td>
                 </tr>
               </tbody>
-- 
cgit v1.2.3

