1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Updating useMemo dependency list (#15572)

This commit is contained in:
Niranjana Binoy 2022-08-15 10:25:57 -04:00 committed by GitHub
parent 28440ba0d0
commit 8949f36639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ export function useTokenDisplayValue(
}
return calcTokenAmount(tokenValue, token.decimals).toString(10);
}, [shouldCalculateTokenValue, tokenData, token]);
}, [shouldCalculateTokenValue, tokenValue, token]);
return displayValue;
}