fixed computing payment form's submit action
This commit is contained in:
@@ -81,6 +81,9 @@ export default function ComputePaymentForm({ mutate, onClose, rowData }) {
|
||||
try {
|
||||
request(`${PRIVACY_ADMIN_ACTION_API}/computing_payment/${rowData.id}`, "post", {
|
||||
data,
|
||||
}).then(() => {
|
||||
onClose();
|
||||
mutate();
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error submitting payment:", error);
|
||||
|
||||
Reference in New Issue
Block a user