diff --git a/src/components/fb/CreateFidelityBond.tsx b/src/components/fb/CreateFidelityBond.tsx index f0c72a854..0a299a88c 100644 --- a/src/components/fb/CreateFidelityBond.tsx +++ b/src/components/fb/CreateFidelityBond.tsx @@ -597,6 +597,7 @@ const CreateFidelityBond = ({ otherFidelityBondExists, wallet, walletInfo, onDon {lockDate && timelockedAddress && selectedJar !== undefined && ( setShowConfirmInputsModal(false)} onConfirm={() => { diff --git a/src/components/fb/SpendFidelityBondModal.tsx b/src/components/fb/SpendFidelityBondModal.tsx index 6194939a9..47b8e15ac 100644 --- a/src/components/fb/SpendFidelityBondModal.tsx +++ b/src/components/fb/SpendFidelityBondModal.tsx @@ -484,14 +484,16 @@ const RenewFidelityBondModal = ({
- onClose({ txInfo, mustReload: parentMustReload })} - className="flex-1 d-flex justify-content-center align-items-center" - > - {t('global.cancel')} - + {!txInfo && ( + onClose({ txInfo, mustReload: parentMustReload })} + className="flex-1 d-flex justify-content-center align-items-center" + > + {t('global.cancel')} + + )} {lockDate && fidelityBond && timelockedAddress !== undefined && ( {