Skip to content

Commit 26c8bf0

Browse files
fix: Avoid nonce flicker when transaction is submitted
1 parent 335b3bb commit 26c8bf0

File tree

1 file changed

+0
-4
lines changed
  • ui/pages/confirmations/components/confirm/footer

1 file changed

+0
-4
lines changed

ui/pages/confirmations/components/confirm/footer/footer.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ const Footer = () => {
186186
dispatch(
187187
rejectPendingApproval(currentConfirmation.id, serializeError(error)),
188188
);
189-
dispatch(updateCustomNonce(''));
190-
dispatch(setNextNonce(''));
191189
},
192190
[currentConfirmation],
193191
);
@@ -219,8 +217,6 @@ const Footer = () => {
219217
} else {
220218
dispatch(resolvePendingApproval(currentConfirmation.id, undefined));
221219
}
222-
dispatch(updateCustomNonce(''));
223-
dispatch(setNextNonce(''));
224220
}, [currentConfirmation, customNonceValue]);
225221

226222
const onFooterCancel = useCallback(() => {

0 commit comments

Comments
 (0)