Browse Source

Fixed a typo

all-modes
Miika Turunen 8 years ago
parent
commit
544e2c1469
  1. 4
      react/src/components/dashboard/receiveCoin/receiveCoin.js
  2. 2
      react/src/components/dashboard/receiveCoin/receiveCoin.render.js

4
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)

2
react/src/components/dashboard/receiveCoin/receiveCoin.render.js

@ -110,7 +110,7 @@ export const ReceiveCoinRender = function() {
<label className="switch">
<input
type="checkbox"
checked={ this.state.hideZeroAdresses } />
checked={ this.state.hideZeroAddresses } />
<div
className="slider"
onClick={ this.toggleVisibleAddress }></div>

Loading…
Cancel
Save