Remove update from profile useEffect
This commit is contained in:
1 parent
feebac62ad
commit
846900f9d1
1 file changed
+1
-2
@@ -64,11 +64,10 @@ function ProfilePage() {
|
||||
|
||||
setProfileUser(res.data);
|
||||
} else {
|
||||
update();
|
||||
setProfileUser(user)
|
||||
}
|
||||
})()
|
||||
}, [user]);
|
||||
}, [user, id]);
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
|
||||
Reference in new issue
Block a user