show error message in failure toast

This commit is contained in:
Nouman Tahir 2023-01-24 22:49:51 +05:00
parent ac63562e9c
commit 5a2ff5d104

View File

@ -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);
}
});