diff --git a/ui/src/hooks/useChangeProfileModal/index.tsx b/ui/src/hooks/useChangeProfileModal/index.tsx index 6d0ce456..6f85e25d 100644 --- a/ui/src/hooks/useChangeProfileModal/index.tsx +++ b/ui/src/hooks/useChangeProfileModal/index.tsx @@ -112,7 +112,7 @@ const useChangeProfileModal = (props: IProps = {}, userData) => { }>(null); const onClose = () => { - setFormData(initFormData(schema)); + setFormData(formData); setVisibleState(false); };