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/Profile.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'frontend/src/pages/Profile.tsx') diff --git a/frontend/src/pages/Profile.tsx b/frontend/src/pages/Profile.tsx index e7b8325..8b8ce3e 100644 --- a/frontend/src/pages/Profile.tsx +++ b/frontend/src/pages/Profile.tsx @@ -28,8 +28,8 @@ const Profile: React.FC = ({ profile, token, gameData, onDeleteRec const [pageNumber, setPageNumber] = React.useState(1); const [pageMax, setPageMax] = React.useState(0); - const [game, setGame] = React.useState("0") - const [chapter, setChapter] = React.useState("0") + const [game, setGame] = React.useState("0"); + const [chapter, setChapter] = React.useState("0"); const [chapterData, setChapterData] = React.useState(null); const [maps, setMaps] = React.useState([]); @@ -100,7 +100,7 @@ const Profile: React.FC = ({ profile, token, gameData, onDeleteRec if (profile && game !== "0") { _get_game_maps(); } - }, [profile, game, chapter, chapterData]) + }, [profile, game, chapter, chapterData]); if (!profile) { return ( @@ -279,14 +279,14 @@ const Profile: React.FC = ({ profile, token, gameData, onDeleteRec {e.date.split("T")[0]} - - + + {i === 0 && r.scores.length > 1 ? : ""} @@ -325,14 +325,14 @@ const Profile: React.FC = ({ profile, token, gameData, onDeleteRec {record!.scores[i].date.split("T")[0]} - - + + {i === 0 && record!.scores.length > 1 ? : ""} @@ -340,8 +340,8 @@ const Profile: React.FC = ({ profile, token, gameData, onDeleteRec ))} - ) - } else { return null } + ); + } else { return null; } }) : (<>{console.warn(maps)})} -- cgit v1.2.3