Call onOpenChange when saving AccountModal

This commit is contained in:
Justin Edmund 2023-01-28 03:49:24 -08:00
parent 93755dfda4
commit 7893c4c3a1

View file

@ -186,6 +186,7 @@ const AccountModal = React.forwardRef<HTMLDivElement, Props>(
}
setOpen(false)
if (props.onOpenChange) props.onOpenChange(false)
changeLanguage(router, user.language)
})
}