diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/token-list.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js index 6a88f30bf..258abde72 100644 --- a/ui/app/components/token-list.js +++ b/ui/app/components/token-list.js @@ -134,17 +134,17 @@ TokenList.prototype.createFreshTokenTracker = function () { }) } -TokenList.prototype.componentDidUpdate = function (nextProps) { +TokenList.prototype.componentDidUpdate = function (prevProps) { const { network: oldNet, userAddress: oldAddress, tokens, - } = this.props + } = prevProps const { network: newNet, userAddress: newAddress, tokens: newTokens, - } = nextProps + } = this.props const isLoading = newNet === 'loading' const missingInfo = !oldNet || !newNet || !oldAddress || !newAddress |