From 7eedd71d92ee82f28db8011b3da62d8b61f1141f Mon Sep 17 00:00:00 2001 From: Usame Algan <5880855+usame-algan@users.noreply.github.com> Date: Tue, 8 Aug 2023 10:31:33 +0200 Subject: [PATCH] fix: Replace transaction with 0 nonce (#2361) --- src/components/transactions/RejectTxButton/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/transactions/RejectTxButton/index.tsx b/src/components/transactions/RejectTxButton/index.tsx index 33289fb1a1..a5bf88c789 100644 --- a/src/components/transactions/RejectTxButton/index.tsx +++ b/src/components/transactions/RejectTxButton/index.tsx @@ -32,7 +32,7 @@ const RejectTxButton = ({ const tooltipTitle = getTxButtonTooltip('Replace', { hasSafeSDK: !!safeSDK }) const openReplacementModal = () => { - if (!txNonce) return + if (txNonce === undefined) return setTxFlow() }