summaryrefslogtreecommitdiff
path: root/src/lib/pengajuan-tempo/component
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-26 09:00:01 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-26 09:00:01 +0700
commitc7b437cd0541cde9e2a829ec3c5689dc237505a8 (patch)
tree1420c9ac42b5c9ca8826d93eed7b701f0699c0b9 /src/lib/pengajuan-tempo/component
parent494909f40b918e4273d6258a74f12ac42253a4a7 (diff)
<iman> pengajuan tempo
Diffstat (limited to 'src/lib/pengajuan-tempo/component')
-rw-r--r--src/lib/pengajuan-tempo/component/Referensi.jsx6
1 files changed, 4 insertions, 2 deletions
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>