diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-03-12 22:50:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-12 22:50:55 +0800 |
commit | b7c7083a112ea6908e8c5990886ab388200a51f4 (patch) | |
tree | bf7e0f880b5a3ce32cd0b0e680f62e0f5068df8d /ui/app/components/pending-tx/confirm-send-token.js | |
parent | 174f57b4646b3d320850c6286189a146cf0e23b0 (diff) | |
parent | ddc85354d3df508cbecc016fc0213a6560d885e1 (diff) | |
download | tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar.gz tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar.bz2 tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar.lz tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar.xz tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.tar.zst tangerine-wallet-browser-b7c7083a112ea6908e8c5990886ab388200a51f4.zip |
Merge branch 'master' into i18n
Diffstat (limited to 'ui/app/components/pending-tx/confirm-send-token.js')
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-token.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js index 606aca3c2..69afa8094 100644 --- a/ui/app/components/pending-tx/confirm-send-token.js +++ b/ui/app/components/pending-tx/confirm-send-token.js @@ -64,8 +64,8 @@ function mapDispatchToProps (dispatch, ownProps) { updateTokenExchangeRate: () => dispatch(actions.updateTokenExchangeRate(symbol)), editTransaction: txMeta => { const { token: { address } } = ownProps - const { txParams, id } = txMeta - const tokenData = txParams.data && abiDecoder.decodeMethod(txParams.data) + const { txParams = {}, id } = txMeta + const tokenData = txParams.data && abiDecoder.decodeMethod(txParams.data) || {} const { params = [] } = tokenData const { value: to } = params[0] || {} const { value: tokenAmountInDec } = params[1] || {} |