From 2f7184d83747d72981951770a4025b0334d94b80 Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 14 Aug 2024 13:45:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E6=B6=88=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BB=B7=E6=A0=BC=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Products/Index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/Products/Index.js b/src/stores/Products/Index.js index 6e489f5..42395ba 100644 --- a/src/stores/Products/Index.js +++ b/src/stores/Products/Index.js @@ -317,7 +317,7 @@ export const useProductsStore = create( let promiseDelete = Promise.resolve(newQuotationList) if (isNotEmpty(quotationId)) { - const { result, success } = await deleteQuotationAction('quotationId') + const { result, success } = await deleteQuotationAction(quotationId) if (!success) { promiseDelete = Promise.reject(result) }