From de77f968ff6f5be630758823faa7792b0594f636 Mon Sep 17 00:00:00 2001 From: RKz Date: Thu, 19 Oct 2023 19:32:11 -0400 Subject: [PATCH] ran prettier --- tgui/packages/tgui/interfaces/CTFPanel.js | 34 +++++++++---------- .../packages/tgui/interfaces/MinigamesMenu.js | 14 ++------ 2 files changed, 19 insertions(+), 29 deletions(-) diff --git a/tgui/packages/tgui/interfaces/CTFPanel.js b/tgui/packages/tgui/interfaces/CTFPanel.js index d9c9bdf25d3b4..3adbcac1b6c15 100644 --- a/tgui/packages/tgui/interfaces/CTFPanel.js +++ b/tgui/packages/tgui/interfaces/CTFPanel.js @@ -7,10 +7,7 @@ export const CTFPanel = (props, context) => { const teams = data.teams || []; const enabled = data.enabled || []; return ( - + {enabled} @@ -19,24 +16,21 @@ export const CTFPanel = (props, context) => { - {teams.map(team => ( + {teams.map((team) => ( -
+
{team.team_size} member - {team.team_size === 1 ? "" : "s"} + {team.team_size === 1 ? '' : 's'} {team.score} point - {team.score === 1 ? "" : "s"} + {team.score === 1 ? '' : 's'} @@ -46,18 +40,24 @@ export const CTFPanel = (props, context) => { fontSize="18px" fluid={1} color={team.color.toLowerCase()} - onClick={() => act('jump', { - refs: team.refs, - })} /> + onClick={() => + act('jump', { + refs: team.refs, + }) + } + />
))} diff --git a/tgui/packages/tgui/interfaces/MinigamesMenu.js b/tgui/packages/tgui/interfaces/MinigamesMenu.js index 3dcede3423c06..e9631f11a9b9b 100644 --- a/tgui/packages/tgui/interfaces/MinigamesMenu.js +++ b/tgui/packages/tgui/interfaces/MinigamesMenu.js @@ -5,22 +5,12 @@ import { Window } from '../layouts'; export const MinigamesMenu = (props, context) => { const { act } = useBackend(context); return ( - +
-