fix useEffect
This commit is contained in:
1 parent
b48f576034
commit
62a88dab83
1 file changed
+1
-1
@@ -36,7 +36,7 @@ function ProfilePage(){
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
update();
|
update();
|
||||||
}, [update]);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
|
|||||||
Reference in new issue
Block a user