From c4a626128cd7e018db394accb7d56879a9110149 Mon Sep 17 00:00:00 2001 From: cballevre Date: Wed, 3 Apr 2024 12:24:23 +0200 Subject: [PATCH] fix(HarvestModal): Make closable to avoid use getting stuck into AA --- src/ducks/settings/HarvestBankAccountSettings.jsx | 2 +- src/ducks/settings/HarvestModal.jsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ducks/settings/HarvestBankAccountSettings.jsx b/src/ducks/settings/HarvestBankAccountSettings.jsx index b22d5ba0ee..ab36b5c484 100644 --- a/src/ducks/settings/HarvestBankAccountSettings.jsx +++ b/src/ducks/settings/HarvestBankAccountSettings.jsx @@ -47,7 +47,7 @@ const HarvestBankAccountSettings = ({ - + { /** @@ -36,7 +37,7 @@ const withHarvestDialogStyles = () => { /** * This component copies the functionality of the modal in Harvest and its Routes component. */ -const HarvestModal = ({ children }) => { +const HarvestModal = ({ children, onDismiss }) => { const { showingUnlockForm } = useVaultUnlockContext() const dialogContext = useDialogContext() @@ -46,6 +47,7 @@ const HarvestModal = ({ children }) => { return ( + {children} )