mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Updating useMemo dependency list (#15572)
This commit is contained in:
parent
28440ba0d0
commit
8949f36639
@ -56,7 +56,7 @@ export function useTokenDisplayValue(
|
||||
}
|
||||
|
||||
return calcTokenAmount(tokenValue, token.decimals).toString(10);
|
||||
}, [shouldCalculateTokenValue, tokenData, token]);
|
||||
}, [shouldCalculateTokenValue, tokenValue, token]);
|
||||
|
||||
return displayValue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user