`await` on open change (#1016)
https://github.com/calendso/calendso/pull/988#discussion_r732908578pull/1013/head^2
parent
d63a180bb2
commit
b8e8319b23
|
@ -27,7 +27,7 @@ export default function DisconnectIntegration(props: {
|
|||
},
|
||||
{
|
||||
async onSettled() {
|
||||
props.onOpenChange(modalOpen);
|
||||
await props.onOpenChange(modalOpen);
|
||||
},
|
||||
onSuccess() {
|
||||
setModalOpen(false);
|
||||
|
|
Loading…
Reference in New Issue