@ -72,7 +72,7 @@ export function reducer (state = initialState, action) {
let fetchedTokenBalanceBlockNumber = 0
function loadTokenBalance (blockNumber) {
if (blockNumber > fetchedTokenBalanceBlockNumber) {
if (blockNumber >= fetchedTokenBalanceBlockNumber) {
fetchedTokenBalanceBlockNumber = blockNumber
setTimeout(loadTokenBalanceDropdown, 1000)
}
@ -14,7 +14,7 @@ const runTask = (event) => {
$loading.show()
$.get(apiPath)
.done(response => {
.done(_response => {
$successMessage.show()
$loading.hide()
})