summaryrefslogtreecommitdiff
path: root/src/lib/transaction/components/Transactions.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-21 14:46:24 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-21 14:46:24 +0700
commit3f2ff1475676ba47a841796e39e7d17d627e5356 (patch)
treebe21a1cedf031a66eaf27621a0578a5086a9d335 /src/lib/transaction/components/Transactions.jsx
parentfdfb47c3a825258b871ac5921605642e5e05fdd8 (diff)
fix
Diffstat (limited to 'src/lib/transaction/components/Transactions.jsx')
-rw-r--r--src/lib/transaction/components/Transactions.jsx3
1 files changed, 1 insertions, 2 deletions
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>