Fixed validation count bug on address page.

address.js
When the page loaded, the number of validations was being set to the
number of transactions.

remove logging in address.js
pull/877/head
Lokraan 6 years ago
parent 76fc8e0377
commit 7a243de380
  1. 2
      apps/block_scout_web/assets/js/pages/address.js

@ -36,7 +36,7 @@ export function reducer (state = initialState, action) {
beyondPageOne: action.beyondPageOne, beyondPageOne: action.beyondPageOne,
filter: action.filter, filter: action.filter,
transactionCount: numeral(action.transactionCount).value(), transactionCount: numeral(action.transactionCount).value(),
validationCount: action.transactionCount ? numeral(action.transactionCount).value() : null validationCount: action.validationCount ? numeral(action.validationCount).value() : null
}) })
} }
case 'CHANNEL_DISCONNECTED': { case 'CHANNEL_DISCONNECTED': {

Loading…
Cancel
Save