Merge pull request #1126 from poanetwork/ams-fix-validators-count

Fix typo in "validation count" reducer when loading state.
pull/1133/head
Amanda 6 years ago committed by GitHub
commit ccb412b374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/block_scout_web/assets/js/pages/address.js

@ -177,7 +177,7 @@ const elements = {
}, },
'[data-selector="validation-count"]': { '[data-selector="validation-count"]': {
load ($el) { load ($el) {
return { validationCount: numeral($el.text()).value } return { validationCount: numeral($el.text()).value() }
}, },
render ($el, state, oldState) { render ($el, state, oldState) {
if (oldState.validationCount === state.validationCount) return if (oldState.validationCount === state.validationCount) return

Loading…
Cancel
Save