diff options
Diffstat (limited to 'ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js')
-rw-r--r-- | ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js b/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js index cd471b822..25f2402f1 100644 --- a/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js +++ b/ui/app/pages/confirm-transaction-switch/confirm-transaction-switch.component.js @@ -25,6 +25,7 @@ export default class ConfirmTransactionSwitch extends Component { methodData: PropTypes.object, fetchingData: PropTypes.bool, isEtherTransaction: PropTypes.bool, + isTokenMethod: PropTypes.bool, } redirectToTransaction () { @@ -33,6 +34,7 @@ export default class ConfirmTransactionSwitch extends Component { methodData: { name }, fetchingData, isEtherTransaction, + isTokenMethod, } = this.props const { id, txParams: { data } = {} } = txData @@ -45,7 +47,7 @@ export default class ConfirmTransactionSwitch extends Component { return <Redirect to={{ pathname }} /> } - if (isEtherTransaction) { + if (isEtherTransaction && !isTokenMethod) { const pathname = `${CONFIRM_TRANSACTION_ROUTE}/${id}${CONFIRM_SEND_ETHER_PATH}` return <Redirect to={{ pathname }} /> } |