|
|
@ -32,6 +32,7 @@ export default class ConfirmTransactionSwitch extends Component { |
|
|
|
txData, |
|
|
|
txData, |
|
|
|
methodData: { name }, |
|
|
|
methodData: { name }, |
|
|
|
fetchingData, |
|
|
|
fetchingData, |
|
|
|
|
|
|
|
isEtherTransaction, |
|
|
|
} = this.props |
|
|
|
} = this.props |
|
|
|
const { id, txParams: { data } = {} } = txData |
|
|
|
const { id, txParams: { data } = {} } = txData |
|
|
|
|
|
|
|
|
|
|
@ -44,6 +45,11 @@ export default class ConfirmTransactionSwitch extends Component { |
|
|
|
return <Redirect to={{ pathname }} /> |
|
|
|
return <Redirect to={{ pathname }} /> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isEtherTransaction) { |
|
|
|
|
|
|
|
const pathname = `${CONFIRM_TRANSACTION_ROUTE}/${id}${CONFIRM_SEND_ETHER_PATH}` |
|
|
|
|
|
|
|
return <Redirect to={{ pathname }} /> |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (data) { |
|
|
|
if (data) { |
|
|
|
const methodName = name && name.toLowerCase() |
|
|
|
const methodName = name && name.toLowerCase() |
|
|
|
|
|
|
|
|
|
|
|