X-lab2017 / open-leaderboard

OpenLeaderboard
https://open-leaderboard.x-lab.info
21 stars 26 forks source link

feat: Get the newest updating timestamp automatically #18

Closed gymgym1212 closed 2 years ago

gymgym1212 commented 2 years ago

Get the newest updating timestamp automatically by fetching and parsing meta.json.

Initially, I set year and month to null, and use useEffect to fetch meta.json. After parsing the meta.json, use setState to update year and month and render whole page.

Signed-off-by: Yeming Gu 51205903090@stu.ecnu.edu.cn