Skip to content

Scheduling infrastructure for absolutely everyone.

`await` on open change (#1016)

Alex Johanssonb8e8319b2344
diff --git a/components/integrations/DisconnectIntegration.tsx b/components/integrations/DisconnectIntegration.tsx
index f656de80a2d..d3ce8e67934 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);