From 544e2c1469f27a8d271235d9cba49474d7c8448f Mon Sep 17 00:00:00 2001 From: Miika Turunen Date: Mon, 31 Jul 2017 22:40:06 +0300 Subject: [PATCH] Fixed a typo --- react/src/components/dashboard/receiveCoin/receiveCoin.js | 4 ++-- .../components/dashboard/receiveCoin/receiveCoin.render.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/react/src/components/dashboard/receiveCoin/receiveCoin.js b/react/src/components/dashboard/receiveCoin/receiveCoin.js index e2a6c58..e3712bb 100644 --- a/react/src/components/dashboard/receiveCoin/receiveCoin.js +++ b/react/src/components/dashboard/receiveCoin/receiveCoin.js @@ -112,7 +112,7 @@ class ReceiveCoin extends React.Component { toggleVisibleAddress() { this.setState(Object.assign({}, this.state, { - hideZeroAdresses: !this.state.hideZeroAdresses, + hideZeroAddresses: !this.state.hideZeroAddresses, })); } @@ -142,7 +142,7 @@ class ReceiveCoin extends React.Component { && _cache[_coin][address.address].getbalance.data.interest ? _cache[_coin][address.address].getbalance.data.interest : 'N/A'; } - if (this.state.hideZeroAdresses) { + if (this.state.hideZeroAddresses) { if (!this.hasNoAmount) { items.push( AddressItemRender.call(this, address, type) diff --git a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js index 1d82e70..5054347 100644 --- a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js +++ b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js @@ -110,7 +110,7 @@ export const ReceiveCoinRender = function() {