diff --git a/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js b/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js
index b5618b83b..4a9a9791e 100644
--- a/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js
+++ b/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js
@@ -36,34 +36,32 @@ export default class TransactionActivityLog extends PureComponent {
global.platform.openTab({ url: etherscanUrl })
}
- renderInlineRetry (index, activity) {
+ renderInlineRetry (index) {
const { t } = this.context
const { inlineRetryIndex, primaryTransaction = {}, onRetry, isEarliestNonce } = this.props
const { status } = primaryTransaction
- const { id } = activity
return isEarliestNonce && status !== CONFIRMED_STATUS && index === inlineRetryIndex
? (
onRetry(id)}
+ onClick={onRetry}
>
{ t('speedUpTransaction') }
) : null
}
- renderInlineCancel (index, activity) {
+ renderInlineCancel (index) {
const { t } = this.context
const { inlineCancelIndex, primaryTransaction = {}, onCancel, isEarliestNonce } = this.props
const { status } = primaryTransaction
- const { id } = activity
return isEarliestNonce && status !== CONFIRMED_STATUS && index === inlineCancelIndex
? (
onCancel(id)}
+ onClick={onCancel}
>
{ t('speedUpCancellation') }
@@ -107,8 +105,8 @@ export default class TransactionActivityLog extends PureComponent {
>
{ activityText }
- { this.renderInlineRetry(index, activity) }
- { this.renderInlineCancel(index, activity) }
+ { this.renderInlineRetry(index) }
+ { this.renderInlineCancel(index) }
)
diff --git a/ui/app/components/app/transaction-list-item-details/transaction-list-item-details.component.js b/ui/app/components/app/transaction-list-item-details/transaction-list-item-details.component.js
index b0ea259db..cc5418860 100644
--- a/ui/app/components/app/transaction-list-item-details/transaction-list-item-details.component.js
+++ b/ui/app/components/app/transaction-list-item-details/transaction-list-item-details.component.js
@@ -145,8 +145,6 @@ export default class TransactionListItemDetails extends PureComponent {
transactionGroup,
showSpeedUp,
showRetry,
- onCancel,
- onRetry,
recipientEns,
recipientAddress,
rpcPrefs: { blockExplorerUrl } = {},
@@ -253,8 +251,8 @@ export default class TransactionListItemDetails extends PureComponent {