diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:56:49 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:56:49 +0800 |
commit | 301c737bbc3a484fb49d2e1f868a576cea73e60a (patch) | |
tree | f109a25ae1e56dd28da5b259b933a857f0bc1be4 /ui/app/components | |
parent | 3f1ae92bb7d4ca4629995f32dc03f37e6460a864 (diff) | |
parent | 1767dceba44f6d173bf3cdb8436d117c7f29b834 (diff) | |
download | tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar.gz tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar.bz2 tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar.lz tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar.xz tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.tar.zst tangerine-wallet-browser-301c737bbc3a484fb49d2e1f868a576cea73e60a.zip |
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/account-dropdowns.js | 2 | ||||
-rw-r--r-- | ui/app/components/shapeshift-form.js | 4 | ||||
-rw-r--r-- | ui/app/components/typed-message-renderer.js | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js index 6abdd4757..0c34a5154 100644 --- a/ui/app/components/account-dropdowns.js +++ b/ui/app/components/account-dropdowns.js @@ -161,8 +161,6 @@ class AccountDropdowns extends Component { ) } - - renderAccountOptions () { const { actions } = this.props const { optionsMenuActive } = this.state diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js index 96a86d3b1..c5993e3d3 100644 --- a/ui/app/components/shapeshift-form.js +++ b/ui/app/components/shapeshift-form.js @@ -130,8 +130,8 @@ ShapeshiftForm.prototype.renderMain = function () { alignItems: 'flex-start', }, }, [ - this.props.warning - ? this.props.warning && + this.props.warning ? + this.props.warning && h('span.error.flex-center', { style: { textAlign: 'center', diff --git a/ui/app/components/typed-message-renderer.js b/ui/app/components/typed-message-renderer.js index a042b57be..d170d63b7 100644 --- a/ui/app/components/typed-message-renderer.js +++ b/ui/app/components/typed-message-renderer.js @@ -32,11 +32,11 @@ TypedMessageRenderer.prototype.render = function () { ) } -function renderTypedData(values) { +function renderTypedData (values) { return values.map(function (value) { return h('div', {}, [ h('strong', {style: {display: 'block', fontWeight: 'bold'}}, String(value.name) + ':'), h('div', {}, value.value), ]) }) -}
\ No newline at end of file +} |