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/Maps.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/Maps.tsx')
| -rw-r--r-- | frontend/src/pages/Maps.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/pages/Maps.tsx b/frontend/src/pages/Maps.tsx index 5548650..62fc3cc 100644 --- a/frontend/src/pages/Maps.tsx +++ b/frontend/src/pages/Maps.tsx | |||
| @@ -39,6 +39,7 @@ const Maps: React.FC<MapProps> = ({ profile, isModerator, onUploadRun }) => { | |||
| 39 | 39 | ||
| 40 | const _fetch_map_leaderboards = async () => { | 40 | const _fetch_map_leaderboards = async () => { |
| 41 | const mapLeaderboards = await API.get_map_leaderboard(mapID); | 41 | const mapLeaderboards = await API.get_map_leaderboard(mapID); |
| 42 | console.log(mapLeaderboards?.records[0]); | ||
| 42 | setMapLeaderboardData(mapLeaderboards); | 43 | setMapLeaderboardData(mapLeaderboards); |
| 43 | }; | 44 | }; |
| 44 | 45 | ||