diff --git a/src/components/common/Extensions/UserHub/partials/TransactionsTab/partials/GroupedTransactionContent.tsx b/src/components/common/Extensions/UserHub/partials/TransactionsTab/partials/GroupedTransactionContent.tsx index 2c2186bd515..ac02beeb124 100644 --- a/src/components/common/Extensions/UserHub/partials/TransactionsTab/partials/GroupedTransactionContent.tsx +++ b/src/components/common/Extensions/UserHub/partials/TransactionsTab/partials/GroupedTransactionContent.tsx @@ -68,7 +68,6 @@ const GroupedTransactionContent: FC = ({ isShowingCancelConfirmation, toggleCancelConfirmation, handleCancelTransaction, - canBeSigned, } = useGroupedTransactionContent({ id, status, @@ -93,15 +92,7 @@ const GroupedTransactionContent: FC = ({ {`${(group?.index || idx) + 1}. `} {titleText} - {isCancelable && canBeSigned ? ( - - ) : ( - - )} + {failed && error && retryable && (
diff --git a/src/redux/sagas/transactions/transactionChannel.ts b/src/redux/sagas/transactions/transactionChannel.ts index 3ea3f62a0cc..b174c2c5995 100644 --- a/src/redux/sagas/transactions/transactionChannel.ts +++ b/src/redux/sagas/transactions/transactionChannel.ts @@ -168,12 +168,6 @@ const channelStart = async ({ try { const sentTx = await channelSendTransaction(tx, txPromise, emit); if (!sentTx) { - emit( - transactionUnsuccessfulError( - tx.id, - new Error('The transaction was unsuccessful'), - ), - ); return null; } @@ -192,16 +186,6 @@ const channelStart = async ({ client, emit, }); - } else { - /** - * @todo Use revert reason strings (once supported) in transactions. - */ - emit( - transactionUnsuccessfulError( - tx.id, - new Error('The transaction was unsuccessful'), - ), - ); } return null;