Skip to content

Commit 1b2aebd

Browse files
TomasBodatomasklim
authored andcommitted
fix(suite): disable closing SOL send modal when sending transaction
1 parent 2828073 commit 1b2aebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/suite/src/components/suite/modals/ReduxModal/TransactionReviewModal/TransactionReviewModalContent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export const TransactionReviewModalContent = ({
401401
deviceModelInternal={deviceModelInternal}
402402
deviceUnitColor={device?.features?.unit_color}
403403
successText={<Translation id="TR_CONFIRMED_TX" />}
404-
onCancel={onCancel}
404+
onCancel={isSending ? undefined : onCancel}
405405
/>
406406
)}
407407
<NewModal.ModalBase

0 commit comments

Comments
 (0)