diff --git a/components/integrations/DisconnectIntegration.tsx b/components/integrations/DisconnectIntegration.tsx index f656de80a2..d3ce8e6793 100644 --- a/components/integrations/DisconnectIntegration.tsx +++ b/components/integrations/DisconnectIntegration.tsx @@ -27,7 +27,7 @@ export default function DisconnectIntegration(props: { }, { async onSettled() { - props.onOpenChange(modalOpen); + await props.onOpenChange(modalOpen); }, onSuccess() { setModalOpen(false);