await on open change (#1016)
https://github.com/calendso/calendso/pull/988#discussion_r732908578
This commit is contained in:
1 parent
d63a180bb2
commit
b8e8319b23
1 file changed
+1
-1
@@ -27,7 +27,7 @@ export default function DisconnectIntegration(props: {
|
||||
},
|
||||
{
|
||||
async onSettled() {
|
||||
props.onOpenChange(modalOpen);
|
||||
await props.onOpenChange(modalOpen);
|
||||
},
|
||||
onSuccess() {
|
||||
setModalOpen(false);
|
||||
|
||||
Reference in new issue
Block a user