diff options
author | Dan <danjm.com@gmail.com> | 2017-11-02 20:15:59 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-11-02 20:15:59 +0800 |
commit | 56e9f98bd05de8ae26f653d15eec4304f0c72155 (patch) | |
tree | 32b6caa805648602a80ca295076d976c181f89f4 /ui/app/components/send-token/index.js | |
parent | 5a94775b3fa22517a71232ebe229ee83e9debcf1 (diff) | |
download | tangerine-wallet-browser-56e9f98bd05de8ae26f653d15eec4304f0c72155.tar.gz tangerine-wallet-browser-56e9f98bd05de8ae26f653d15eec4304f0c72155.tar.zst tangerine-wallet-browser-56e9f98bd05de8ae26f653d15eec4304f0c72155.zip |
More lint fixes
Diffstat (limited to 'ui/app/components/send-token/index.js')
-rw-r--r-- | ui/app/components/send-token/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/send-token/index.js b/ui/app/components/send-token/index.js index c5c7a0b46..99d078251 100644 --- a/ui/app/components/send-token/index.js +++ b/ui/app/components/send-token/index.js @@ -148,11 +148,11 @@ SendTokenScreen.prototype.setErrorsFor = function (field) { const { isValid, - errors: newErrors + errors: newErrors, } = this.validate() const nextErrors = Object.assign({}, previousErrors, { - [field]: newErrors[field] || null + [field]: newErrors[field] || null, }) if (!isValid) { @@ -166,7 +166,7 @@ SendTokenScreen.prototype.setErrorsFor = function (field) { SendTokenScreen.prototype.clearErrorsFor = function (field) { const { errors: previousErrors } = this.state const nextErrors = Object.assign({}, previousErrors, { - [field]: null + [field]: null, }) this.setState({ @@ -428,7 +428,7 @@ SendTokenScreen.prototype.render = function () { this.renderAmountInput(), this.renderGasInput(), this.renderMemoInput(), - warning && h('div.send-screen-input-wrapper--error', {}, + warning && h('div.send-screen-input-wrapper--error', {}, h('div.send-screen-input-wrapper__error-message', [ warning, ]) |