Skip to content

Commit 980819d

Browse files
refactor: useeffect dependency update
1 parent 3b1fd72 commit 980819d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/ProfileView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const ProfileView = ({ navigation }: IProfileViewProps): React.ReactElement => {
291291
currentPassword: null,
292292
saving: false
293293
});
294-
}, [user, reset])
294+
}, [user?.name, user?.username, user?.emails, user?.bio, user?.nickname, reset])
295295
);
296296

297297
return (

0 commit comments

Comments
 (0)