Skip to content

Commit

Permalink
fix re-render bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahZinsmeister committed Aug 13, 2019
1 parent da22c6d commit 54ef651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/AllBalances.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function useFetchAllBalances() {
}
}

useMemo(getData, [account, state])
useMemo(getData, [account])

return allBalanceData
}

0 comments on commit 54ef651

Please sign in to comment.