diff --git a/src/index.js b/src/index.js index 896c4622..4634aa77 100644 --- a/src/index.js +++ b/src/index.js @@ -1806,7 +1806,7 @@ const initializeFormElements = () => { options: { address: erc20Address, symbol: tokenSymbol, - decimals: decimalUnitsInput.value, + decimals: parseInt(decimalUnitsInput.value, 10), image: 'https://metamask.github.io/test-dapp/metamask-fox.svg', }, },