feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -51,9 +51,9 @@ function PaymentModalContainer({ paymentModal, toggleModalVisible, bodyshop }) {
|
||||
});
|
||||
|
||||
if (!newPayment.errors) {
|
||||
notification["success"]({ message: t("payments.successes.payment") });
|
||||
notification.success({ title: t("payments.successes.payment") });
|
||||
} else {
|
||||
notification["error"]({ message: t("payments.errors.payment") });
|
||||
notification.error({ title: t("payments.errors.payment") });
|
||||
}
|
||||
const Templates = TemplateList("payment");
|
||||
if (sendby !== "none") {
|
||||
@@ -83,9 +83,9 @@ function PaymentModalContainer({ paymentModal, toggleModalVisible, bodyshop }) {
|
||||
});
|
||||
|
||||
if (!updatedPayment.errors) {
|
||||
notification["success"]({ message: t("payments.successes.paymentupdate") });
|
||||
notification.success({ title: t("payments.successes.paymentupdate") });
|
||||
} else {
|
||||
notification["error"]({ message: t("payments.errors.paymentupdate") });
|
||||
notification.error({ title: t("payments.errors.paymentupdate") });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user