fix: cancel button in payment made.

This commit is contained in:
elforjani13
2021-09-21 19:50:14 +02:00
parent a880d8cd85
commit 0f444a0c66
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,9 @@ function PaymentMadeDeleteAlert({
useDeletePaymentMade();
// Handle cancel payment made.
const handleCancelPaymentMadeDelete = () => {};
const handleCancelPaymentMadeDelete = () => {
closeAlert(name);
};
// Handle confirm delete payment made
const handleConfirmPaymentMadeDelete = () => {