From 3f2ff1475676ba47a841796e39e7d17d627e5356 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 21 Feb 2023 14:46:24 +0700
Subject: fix

---
 src/lib/transaction/components/Transactions.jsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/lib/transaction/components/Transactions.jsx')

diff --git a/src/lib/transaction/components/Transactions.jsx b/src/lib/transaction/components/Transactions.jsx
index 246a4a2c..25a6076a 100644
--- a/src/lib/transaction/components/Transactions.jsx
+++ b/src/lib/transaction/components/Transactions.jsx
@@ -38,7 +38,6 @@ const Transactions = () => {
 
   const submitCancelTransaction = async () => {
     const isCancelled = await cancelTransactionApi({
-      partnerId: auth.partnerId,
       transaction: toCancel
     })
     if (isCancelled) {
@@ -171,7 +170,7 @@ const Transactions = () => {
           <button 
             className="btn-solid-red flex-1" 
             type="button"
-            onClick={() => submitCancelTransaction()}
+            onClick={submitCancelTransaction}
           >
             Ya, Batalkan
           </button>
-- 
cgit v1.2.3

