diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-09-09 20:10:16 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-09-09 20:10:16 +0300 |
| commit | 188e806427ff6c9b302d994fc9c84a0300526688 (patch) | |
| tree | de6b28b307efc181a26ff422895246b25d70de8a /frontend/src/pages/User.tsx | |
| parent | refactor: upload run form, lots of random shit (diff) | |
| download | lphub-188e806427ff6c9b302d994fc9c84a0300526688.tar.gz lphub-188e806427ff6c9b302d994fc9c84a0300526688.tar.bz2 lphub-188e806427ff6c9b302d994fc9c84a0300526688.zip | |
refactor: make names clickable throughout the site, fix user pages
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") { |