diff --git a/components/integrations/DisconnectIntegration.tsx b/components/integrations/DisconnectIntegration.tsx index f656de80..d3ce8e67 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);