`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() {
|
async onSettled() {
|
||||||
props.onOpenChange(modalOpen);
|
await props.onOpenChange(modalOpen);
|
||||||
},
|
},
|
||||||
onSuccess() {
|
onSuccess() {
|
||||||
setModalOpen(false);
|
setModalOpen(false);
|
||||||
|
|
Loading…
Reference in New Issue