diff --git a/packages/desktop-client/src/components/Modals.tsx b/packages/desktop-client/src/components/Modals.tsx index 81f48f391e5..ac5b894b2c5 100644 --- a/packages/desktop-client/src/components/Modals.tsx +++ b/packages/desktop-client/src/components/Modals.tsx @@ -173,6 +173,7 @@ export function Modals() { diff --git a/packages/desktop-client/src/components/modals/ConfirmTransactionEdit.tsx b/packages/desktop-client/src/components/modals/ConfirmTransactionEdit.tsx index 6fb4c800775..7ad0ff097fb 100644 --- a/packages/desktop-client/src/components/modals/ConfirmTransactionEdit.tsx +++ b/packages/desktop-client/src/components/modals/ConfirmTransactionEdit.tsx @@ -9,12 +9,14 @@ import { type CommonModalProps } from '../Modals'; type ConfirmTransactionEditProps = { modalProps: Partial; + onCancel?: () => void; onConfirm: () => void; confirmReason: string; }; export function ConfirmTransactionEdit({ modalProps, + onCancel, onConfirm, confirmReason, }: ConfirmTransactionEditProps) { @@ -71,7 +73,13 @@ export function ConfirmTransactionEdit({ justifyContent: 'flex-end', }} > -