Fix typo in "validation count" redux when loading state.

pull/1126/head
Amanda Sposito 6 years ago
parent dcccca556c
commit 59f108c1a0
  1. 2
      apps/block_scout_web/assets/js/pages/address.js

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

Loading…
Cancel
Save