mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 13:47:06 +01:00
87cf0ced13
The token amount displayed when confirming a token transaction was wrongly being converted to a string in the container. As a result, the conversion into the user's preferred currency would fail. A default value of '0' was added for the token amount as well, to prevent `undefined` from being rendered as the value. Really the value should never be undefined, but it was rather difficult to handle that case without a deeper investigation into how it might occur. The 0 default is consistent with existing rendering logic. |
||
---|---|---|
.. | ||
confirm-token-transaction-base.component.js | ||
confirm-token-transaction-base.container.js | ||
index.js |