From fa98709dfa362ab5b33714f0c274a1c347d16103 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Fri, 1 Dec 2023 03:29:43 +0000 Subject: [PATCH] fix: even more eslint --- pages/players/[id]/wrapped.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/players/[id]/wrapped.tsx b/pages/players/[id]/wrapped.tsx index 9d42d7a..4e1920c 100644 --- a/pages/players/[id]/wrapped.tsx +++ b/pages/players/[id]/wrapped.tsx @@ -12,7 +12,7 @@ export default function Page(props: { username: string, wrapped: PlayerWrappedDa return <> - {props.username}'s Nucleoid Wrapped + {props.username}'s Nucleoid Wrapped
@@ -83,17 +83,17 @@ const Slide1: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

- This year, you've played {props.wrapped.played_count} games. + This year, you've played {props.wrapped.played_count} games.

{lots &&

- That's a whole lot! + That's a whole lot!

} {!props.static && } @@ -115,7 +115,7 @@ const Slide2: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

- Now that's some dedication. + Now that's some dedication.

@@ -135,14 +135,14 @@ const Slide3: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

- Here's your top {Math.min(props.wrapped.top_games.length, 5)}! + Here's your top {Math.min(props.wrapped.top_games.length, 5)}!

    {props.wrapped.top_games.map((game, i) => { if (i >= 5) return; - return
  1. + return
  2. - {game.total} games @@ -192,14 +192,14 @@ const Slide5: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

    - Here's your top {Math.min(props.wrapped.days_played_games.length, 5)} games by days played! + Here's your top {Math.min(props.wrapped.days_played_games.length, 5)} games by days played!

      {props.wrapped.days_played_games.map((game, i) => { if (i >= 5) return; - return
    1. + return
    2. - {game.total} days @@ -223,7 +223,7 @@ const Slide6: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

      - You've played with lots of people this year. + You've played with lots of people this year.

      @@ -249,14 +249,14 @@ const Slide7: React.FC<{setSlide: (slide: number) => void, static?: boolean, wra

      - Here's the top {Math.min(props.wrapped.most_players_games.length, 5)} games you've shared with the most people. + Here's the top {Math.min(props.wrapped.most_players_games.length, 5)} games you've shared with the most people.

        {props.wrapped.days_played_games.map((game, i) => { if (i >= 5) return; - return
      1. + return
      2. - {game.total} other people