diff options
Diffstat (limited to 'frontend/src/pages/User.tsx')
| -rw-r--r-- | frontend/src/pages/User.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/pages/User.tsx b/frontend/src/pages/User.tsx index 1f6d8d0..1605ada 100644 --- a/frontend/src/pages/User.tsx +++ b/frontend/src/pages/User.tsx | |||
| @@ -79,7 +79,7 @@ const User: React.FC = () => { | |||
| 79 | 79 | ||
| 80 | React.useEffect(() => { | 80 | React.useEffect(() => { |
| 81 | _fetch_user(); | 81 | _fetch_user(); |
| 82 | }, []); | 82 | }, [user]); |
| 83 | 83 | ||
| 84 | React.useEffect(() => { | 84 | React.useEffect(() => { |
| 85 | if (game !== "0") { | 85 | if (game !== "0") { |