From 5a2ff5d1044949e690a413bcea921a8882cd8b99 Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Tue, 24 Jan 2023 22:49:51 +0500 Subject: [PATCH] show error message in failure toast --- src/containers/redeemContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/redeemContainer.js b/src/containers/redeemContainer.js index 61a67b53d..7fbf7cb13 100644 --- a/src/containers/redeemContainer.js +++ b/src/containers/redeemContainer.js @@ -79,7 +79,7 @@ class RedeemContainer extends Component { }) .catch((error) => { if (error) { - dispatch(toastNotification(intl.formatMessage({ id: 'alert.key_warning' }))); + dispatch(toastNotification(intl.formatMessage({ id: 'alert.key_warning' })) + '\n' + error.message); } });