feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -31,10 +31,9 @@ const PaymentReexportButton = ({ paymentModal, payment, refetch, setPaymentConte
|
||||
}
|
||||
});
|
||||
if (!paymentUpdateResponse.errors) {
|
||||
notification.open({
|
||||
type: "success",
|
||||
notification.success({
|
||||
key: "paymentsuccessexport",
|
||||
message: t("payments.successes.markreexported")
|
||||
title: t("payments.successes.markreexported")
|
||||
});
|
||||
setPaymentContext({
|
||||
actions: {
|
||||
@@ -56,8 +55,8 @@ const PaymentReexportButton = ({ paymentModal, payment, refetch, setPaymentConte
|
||||
}
|
||||
}
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("payments.errors.exporting", {
|
||||
notification.error({
|
||||
title: t("payments.errors.exporting", {
|
||||
error: JSON.stringify(paymentUpdateResponse.error)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user