Call onOpenChange when saving AccountModal
This commit is contained in:
parent
93755dfda4
commit
7893c4c3a1
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ const AccountModal = React.forwardRef<HTMLDivElement, Props>(
|
||||||
}
|
}
|
||||||
|
|
||||||
setOpen(false)
|
setOpen(false)
|
||||||
|
if (props.onOpenChange) props.onOpenChange(false)
|
||||||
changeLanguage(router, user.language)
|
changeLanguage(router, user.language)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue