fix: Fix old user information still showing when editing repeatedly
This commit is contained in:
@@ -112,7 +112,7 @@ const useChangeProfileModal = (props: IProps = {}, userData) => {
|
||||
}>(null);
|
||||
|
||||
const onClose = () => {
|
||||
setFormData(initFormData(schema));
|
||||
setFormData(formData);
|
||||
setVisibleState(false);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user