diff --git a/src/App/App.tsx b/src/App/App.tsx index c586afc..d050568 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -93,6 +93,7 @@ function App() { const { isMinimode } = useMinimode(); const [currentPage, setCurrentPage] = React.useState(PAGES.PLAYER_LIST); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { closeModal, openModal, modalContent } = useModal(); const renderPage = () => { diff --git a/src/components/TF2/Player/playerutils.tsx b/src/components/TF2/Player/playerutils.tsx index 50da4ec..1e116c3 100644 --- a/src/components/TF2/Player/playerutils.tsx +++ b/src/components/TF2/Player/playerutils.tsx @@ -105,8 +105,8 @@ function getCheaterFriendsInLobby( player: PlayerInfo, cheatersInLobby: PlayerInfo[], ): PlayerInfo[] { - return cheatersInLobby.filter( - (c) => player.friends?.some((f) => f.steamID64 === c.steamID64), + return cheatersInLobby.filter((c) => + player.friends?.some((f) => f.steamID64 === c.steamID64), ); } @@ -114,8 +114,8 @@ function hasCheaterFriendsInLobby( player: PlayerInfo, cheatersInLobby: PlayerInfo[], ): boolean { - return cheatersInLobby.some( - (c) => player.friends?.some((f) => f.steamID64 === c.steamID64), + return cheatersInLobby.some((c) => + player.friends?.some((f) => f.steamID64 === c.steamID64), ); } @@ -158,14 +158,14 @@ function buildIconList( player.gameInfo.state === 'Disconnected' ? './kiwi_gray.webp' : player.gameInfo.team === 0 - ? './kiwi_unassigned.webp' - : player.gameInfo.team === 1 - ? './kiwi_spectator.webp' - : player.gameInfo.team === 2 - ? './kiwi_red.webp' - : player.gameInfo.team === 3 - ? './kiwi_blue.webp' - : './kiwi_white.webp'; + ? './kiwi_unassigned.webp' + : player.gameInfo.team === 1 + ? './kiwi_spectator.webp' + : player.gameInfo.team === 2 + ? './kiwi_red.webp' + : player.gameInfo.team === 3 + ? './kiwi_blue.webp' + : './kiwi_white.webp'; return [ hasAlias && (