0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): clear select state on close modal (#2071)

This commit is contained in:
wangsijie 2022-10-09 15:40:02 +08:00 committed by GitHub
parent 37d2b0ce5c
commit b6b9d7ce80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,8 @@ const CreateForm = ({ onClose, isOpen: isFormOpen, type }: Props) => {
const closeModal = () => {
setIsGetStartedModalOpen(false);
onClose?.(activeConnectorId);
setActiveGroupId(undefined);
setActiveConnectorId(undefined);
};
return (