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} )