diff --git a/src/components/fb/SpendFidelityBondModal.tsx b/src/components/fb/SpendFidelityBondModal.tsx index 6194939a..d8aa18ea 100644 --- a/src/components/fb/SpendFidelityBondModal.tsx +++ b/src/components/fb/SpendFidelityBondModal.tsx @@ -16,6 +16,7 @@ import { CopyButton } from '../CopyButton' import { LockInfoAlert } from './CreateFidelityBond' import { useWaitForUtxosToBeSpent } from '../../hooks/WaitForUtxosToBeSpent' import styles from './SpendFidelityBondModal.module.css' +import classNames from 'classnames' type Input = { outpoint: Api.UtxoId @@ -484,14 +485,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 && ( {