aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-10-25 07:53:54 +0800
committerGitHub <noreply@github.com>2017-10-25 07:53:54 +0800
commit1767dceba44f6d173bf3cdb8436d117c7f29b834 (patch)
treee052bcc29f8b05c9ef7f175c5346b5ff28a1e75a /ui/app/components
parentae56b865e8a4d3a6a82a97efeca34b8a592c985b (diff)
parent43b1cb9100e74ab32efe1a59b3320d0aeadedcdf (diff)
downloadtangerine-wallet-browser-1767dceba44f6d173bf3cdb8436d117c7f29b834.tar.gz
tangerine-wallet-browser-1767dceba44f6d173bf3cdb8436d117c7f29b834.tar.zst
tangerine-wallet-browser-1767dceba44f6d173bf3cdb8436d117c7f29b834.zip
Merge pull request #2422 from watilde/fixes-lint
Fixes lint warnings
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/account-dropdowns.js2
-rw-r--r--ui/app/components/menu-droppo.js2
-rw-r--r--ui/app/components/shapeshift-form.js6
-rw-r--r--ui/app/components/typed-message-renderer.js4
4 files changed, 6 insertions, 8 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/menu-droppo.js b/ui/app/components/menu-droppo.js
index a4e498c6b..e6276f3b1 100644
--- a/ui/app/components/menu-droppo.js
+++ b/ui/app/components/menu-droppo.js
@@ -19,7 +19,7 @@ MenuDroppoComponent.prototype.render = function () {
this.manageListeners()
- let style = this.props.style || {}
+ const style = this.props.style || {}
if (!('position' in style)) {
style.position = 'fixed'
}
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js
index 901a4a956..c5993e3d3 100644
--- a/ui/app/components/shapeshift-form.js
+++ b/ui/app/components/shapeshift-form.js
@@ -130,9 +130,9 @@ ShapeshiftForm.prototype.renderMain = function () {
alignItems: 'flex-start',
},
}, [
- this.props.warning
- ? this.props.warning
- && h('span.error.flex-center', {
+ this.props.warning ?
+ this.props.warning &&
+ h('span.error.flex-center', {
style: {
textAlign: 'center',
width: '229px',
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
+}