diff --git a/app/scripts/lib/transaction/smart-transactions.ts b/app/scripts/lib/transaction/smart-transactions.ts index 6a69c8467732..97e37965d6ea 100644 --- a/app/scripts/lib/transaction/smart-transactions.ts +++ b/app/scripts/lib/transaction/smart-transactions.ts @@ -122,8 +122,7 @@ class SmartTransactionHook { async submit() { const isUnsupportedTransactionTypeForSmartTransaction = - this.#transactionMeta.type && - [TransactionType.swapAndSend].includes(this.#transactionMeta.type); + this.#transactionMeta?.type === TransactionType.swapAndSend; // Will cause TransactionController to publish to the RPC provider as normal. const useRegularTransactionSubmit = { transactionHash: undefined };