From 133e010d2ea59e8e6b4abf2e46b4970405c6ae4c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 25 Dec 2024 10:50:15 +0000 Subject: [PATCH] Format code with Prettier --- web/src/components/exec-page/PreviousTeamCard.tsx | 10 +++++----- web/src/screens/ExecScreen.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/components/exec-page/PreviousTeamCard.tsx b/web/src/components/exec-page/PreviousTeamCard.tsx index ffa8915..46dbd05 100644 --- a/web/src/components/exec-page/PreviousTeamCard.tsx +++ b/web/src/components/exec-page/PreviousTeamCard.tsx @@ -15,10 +15,10 @@ export default function PreviousTeamCard({ return (
-

- {year==="2024"? ("🥰") : ("")} {year} {year==="2024"? ("🥰") : ("")} +

+ {year === "2024" ? "🥰" : ""} {year} {year === "2024" ? "🥰" : ""}

{teams.presidents.length > 0 && (
@@ -38,11 +38,11 @@ export default function PreviousTeamCard({ {teams.executives.length > 0 && (

Executives

-
+
{teams.executives.map((team) => (

{team.name}

diff --git a/web/src/screens/ExecScreen.tsx b/web/src/screens/ExecScreen.tsx index 9b25075..652e9a0 100644 --- a/web/src/screens/ExecScreen.tsx +++ b/web/src/screens/ExecScreen.tsx @@ -168,7 +168,7 @@ export default function ExecScreen({ navbar }: { navbar: JSX.Element }) { {errorPreviousTeams ? (
There are no previous teams to display
) : ( -
+
{sortedPreviousTeams.map((year) => (