mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Update packages/web/components/EditProfileModal.tsx
Co-authored-by: δυς <dys@dhappy.org>
This commit is contained in:
@@ -200,9 +200,7 @@ export const EditProfileModal: React.FC<ProfileEditorProps> = ({
|
||||
});
|
||||
}, [setValue]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
|
||||
useEffect(() => {
|
||||
resetData();
|
||||
}, [resetData]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
useEffect(resetData, [resetData]);
|
||||
|
||||
const onFileChange = useCallback(
|
||||
({ target: input }: { target: HTMLInputElement }) => {
|
||||
|
||||
Reference in New Issue
Block a user