mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing type issue with auto-filled custom token decimals value (#11604)
This commit is contained in:
parent
d03dc311ee
commit
d092e4bdbe
@ -73,7 +73,7 @@ async function getDecimals(tokenAddress) {
|
|||||||
const contractMetadataInfo = getContractMetadata(tokenAddress);
|
const contractMetadataInfo = getContractMetadata(tokenAddress);
|
||||||
|
|
||||||
if (contractMetadataInfo) {
|
if (contractMetadataInfo) {
|
||||||
decimals = contractMetadataInfo.decimals;
|
decimals = contractMetadataInfo.decimals?.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user