From c03968c955f52cf9e05c2b14044d9a89c8f0d1e1 Mon Sep 17 00:00:00 2001 From: megascatterbomb Date: Thu, 21 Mar 2024 16:46:21 +1300 Subject: [PATCH] lint 2 --- src/components/TF2/Player/playerutils.tsx | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/TF2/Player/playerutils.tsx b/src/components/TF2/Player/playerutils.tsx index 1e116c3..50da4ec 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 && (