|
|
|
@ -59,6 +59,7 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
|
tokenData: PropTypes.object, |
|
|
|
|
tokenProps: PropTypes.object, |
|
|
|
|
toName: PropTypes.string, |
|
|
|
|
toNickname: PropTypes.string, |
|
|
|
|
transactionStatus: PropTypes.string, |
|
|
|
|
txData: PropTypes.object, |
|
|
|
|
unapprovedTxCount: PropTypes.number, |
|
|
|
@ -529,6 +530,7 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
|
fromAddress, |
|
|
|
|
toName, |
|
|
|
|
toAddress, |
|
|
|
|
toNickname, |
|
|
|
|
methodData, |
|
|
|
|
valid: propsValid = true, |
|
|
|
|
errorMessage, |
|
|
|
@ -551,13 +553,13 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
|
const { name } = methodData |
|
|
|
|
const { valid, errorKey } = this.getErrorKey() |
|
|
|
|
const { totalTx, positionOfCurrentTx, nextTxId, prevTxId, showNavigation, firstTx, lastTx, ofText, requestsWaitingText } = this.getNavigateTxData() |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<ConfirmPageContainer |
|
|
|
|
fromName={fromName} |
|
|
|
|
fromAddress={fromAddress} |
|
|
|
|
toName={toName} |
|
|
|
|
toAddress={toAddress} |
|
|
|
|
toNickname={toNickname} |
|
|
|
|
showEdit={onEdit && !isTxReprice} |
|
|
|
|
// In the event that the key is falsy (and inherently invalid), use a fallback string
|
|
|
|
|
action={getMethodName(name) || this.context.tOrKey(transactionCategory) || this.context.t('contractInteraction')} |
|
|
|
|