1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix styling of error message.

This commit is contained in:
Kevin Serrano 2017-03-22 16:54:10 -04:00
parent 864f8b06f9
commit 5d14925842
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
2 changed files with 2 additions and 4 deletions

View File

@ -60,7 +60,7 @@ JsonImportSubview.prototype.render = function () {
},
}, 'Import'),
error ? h('span.warning', error) : null,
error ? h('span.error', error) : null,
])
)
}
@ -95,4 +95,3 @@ JsonImportSubview.prototype.createNewKeychain = function () {
this.props.dispatch(actions.importNewAccount('JSON File', [ fileContents, password ]))
}

View File

@ -48,7 +48,7 @@ PrivateKeyImportView.prototype.render = function () {
},
}, 'Import'),
error ? h('span.warning', error) : null,
error ? h('span.error', error) : null,
])
)
}
@ -65,4 +65,3 @@ PrivateKeyImportView.prototype.createNewKeychain = function () {
const privateKey = input.value
this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ]))
}