From 6a631744d9c80ff9a1a9f4b278bc0337ecdb494e Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Sun, 26 Oct 2025 13:51:31 +0400 Subject: chore/frontend: semicolon linting (#287) --- frontend/src/pages/Maplist.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'frontend/src/pages/Maplist.tsx') diff --git a/frontend/src/pages/Maplist.tsx b/frontend/src/pages/Maplist.tsx index bda24cd..dc655ca 100644 --- a/frontend/src/pages/Maplist.tsx +++ b/frontend/src/pages/Maplist.tsx @@ -34,7 +34,7 @@ const Maplist: React.FC = () => { const _fetch_chapters = async (chapter_id: string) => { const chapters = await API.get_chapters(chapter_id); setCurChapter(chapters); - } + }; const _handle_dropdown_click = () => { if (dropdownActive == "none") { @@ -42,7 +42,7 @@ const Maplist: React.FC = () => { } else { setDropdownActive("none"); } - } + }; // im sorry but im too lazy to fix this right now useEffect(() => { @@ -73,7 +73,7 @@ const Maplist: React.FC = () => { const games_chapters = await API.get_games_chapters(gameId.toString()); setGameChapters(games_chapters); setNumChapters(games_chapters.chapters.length); - } + }; setLoad(true); _fetch_game(); @@ -85,7 +85,7 @@ const Maplist: React.FC = () => { if (gameChapters != undefined && !queryParams.get("chapter")) { _fetch_chapters(gameChapters!.chapters[0].id.toString()); } - }, [gameChapters]) + }, [gameChapters]); @@ -124,7 +124,7 @@ const Maplist: React.FC = () => {