diff options
author | Dan Miller <danjm.com@gmail.com> | 2019-04-18 07:56:25 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2019-04-18 07:56:25 +0800 |
commit | 8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f (patch) | |
tree | fac935f34fbd8a7e172800257311c267871b3d98 /ui/app/pages/send/send-content | |
parent | 8c075b71586761aa7e813c7fb9ddddfa98f3a84a (diff) | |
download | tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar.gz tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar.bz2 tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar.lz tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar.xz tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.tar.zst tangerine-wallet-browser-8a82e629bfa6545d09adf58e5b5d32cbdb1fba6f.zip |
Ensure future tokens add decimals as numbers while supporting numbers and strings in send-asset-row
Diffstat (limited to 'ui/app/pages/send/send-content')
-rw-r--r-- | ui/app/pages/send/send-content/send-asset-row/send-asset-row.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/pages/send/send-content/send-asset-row/send-asset-row.component.js b/ui/app/pages/send/send-content/send-asset-row/send-asset-row.component.js index 2982526cb..de2d9462f 100644 --- a/ui/app/pages/send/send-content/send-asset-row/send-asset-row.component.js +++ b/ui/app/pages/send/send-content/send-asset-row/send-asset-row.component.js @@ -11,7 +11,7 @@ export default class SendAssetRow extends Component { tokens: PropTypes.arrayOf( PropTypes.shape({ address: PropTypes.string, - decimals: PropTypes.number, + decimals: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), symbol: PropTypes.string, }) ).isRequired, |