|
|
@ -18,6 +18,7 @@ import AdvancedGasInputs from '../../components/app/gas-customization/advanced-g |
|
|
|
export default class ConfirmTransactionBase extends Component { |
|
|
|
export default class ConfirmTransactionBase extends Component { |
|
|
|
static contextTypes = { |
|
|
|
static contextTypes = { |
|
|
|
t: PropTypes.func, |
|
|
|
t: PropTypes.func, |
|
|
|
|
|
|
|
tOrKey: PropTypes.func.isRequired, |
|
|
|
metricsEvent: PropTypes.func, |
|
|
|
metricsEvent: PropTypes.func, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -546,7 +547,8 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
toName={toName} |
|
|
|
toName={toName} |
|
|
|
toAddress={toAddress} |
|
|
|
toAddress={toAddress} |
|
|
|
showEdit={onEdit && !isTxReprice} |
|
|
|
showEdit={onEdit && !isTxReprice} |
|
|
|
action={this.context.t(actionKey) || getMethodName(name) || this.context.t('contractInteraction')} |
|
|
|
// In the event that the key is falsy (and inherently invalid), use a fallback string
|
|
|
|
|
|
|
|
action={this.context.tOrKey(actionKey) || getMethodName(name) || this.context.t('contractInteraction')} |
|
|
|
title={title} |
|
|
|
title={title} |
|
|
|
titleComponent={this.renderTitleComponent()} |
|
|
|
titleComponent={this.renderTitleComponent()} |
|
|
|
subtitle={subtitle} |
|
|
|
subtitle={subtitle} |
|
|
|