mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Do not show user rejection errors within our UI.
This commit is contained in:
parent
034742a571
commit
a0bfdfe409
@ -140,7 +140,9 @@ ConfirmTxScreen.prototype.goHome = function (event) {
|
||||
}
|
||||
|
||||
function warningIfExists (warning) {
|
||||
if (warning) {
|
||||
if (warning &&
|
||||
// Do not display user rejections on this screen:
|
||||
warning.indexOf('User denied transaction signature') === -1) {
|
||||
return h('span.error', { style: { margin: 'auto' } }, warning)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user