Skip to content
14 changes: 12 additions & 2 deletions app/views/ProfileView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,20 @@ const ProfileView = ({ navigation }: IProfileViewProps): React.ReactElement => {

useFocusEffect(
useCallback(() => {
reset();
}, [])
reset({
name: user?.name as string,
username: user?.username,
email: user?.emails?.[0]?.address || null,
currentPassword: null,
bio: user?.bio,
nickname: user?.nickname,
saving: false
});
}, [user?.name, user?.username, user?.emails, user?.bio, user?.nickname, reset])
);



return (
<KeyboardView>
<SafeAreaView testID='profile-view'>
Expand Down