diff --git a/apps/block_scout_web/assets/js/pages/chain.js b/apps/block_scout_web/assets/js/pages/chain.js index 8a71893171..14d0f48535 100644 --- a/apps/block_scout_web/assets/js/pages/chain.js +++ b/apps/block_scout_web/assets/js/pages/chain.js @@ -1,4 +1,3 @@ -/* global _ */ import $ from 'jquery' import omit from 'lodash/omit' import first from 'lodash/first' @@ -155,7 +154,7 @@ const elements = { if (chart && !(oldState.availableSupply === state.availableSupply && oldState.marketHistoryData === state.marketHistoryData) && state.availableSupply) { chart.updateMarketHistory(state.availableSupply, state.marketHistoryData) } - if (chart && !(_.isEqual(oldState.transactionStats, state.transactionStats))) { + if (chart && !(JSON.stringify(oldState.transactionStats) == JSON.stringify(state.transactionStats))) { chart.updateTransactionHistory(state.transactionStats) } }