From c5366fe9cc2256e1a1578b11078c52a9ac780ac2 Mon Sep 17 00:00:00 2001 From: Chris Parsons <438676+chrisparsons83@users.noreply.github.com> Date: Tue, 12 May 2026 08:30:40 -0700 Subject: [PATCH] Fix eqeqeq lint errors: use !== instead of != for null checks (#414) https://claude.ai/code/session_01LbTWNFt6j91LxpiEhbXNop Co-authored-by: Claude --- app/components/sport-season/RegularSeasonStandings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/sport-season/RegularSeasonStandings.tsx b/app/components/sport-season/RegularSeasonStandings.tsx index 8974f04..bc356bf 100644 --- a/app/components/sport-season/RegularSeasonStandings.tsx +++ b/app/components/sport-season/RegularSeasonStandings.tsx @@ -237,9 +237,9 @@ function StandingsTable({ showSoccerTable?: boolean; }) { const allRows = sections.flatMap((s) => s.rows); - const hasStreak = allRows.some((r) => r.streak != null); - const hasLastTen = allRows.some((r) => r.lastTen != null); - const hasGB = allRows.some((r) => r.gamesBack != null); + const hasStreak = allRows.some((r) => r.streak !== null); + const hasLastTen = allRows.some((r) => r.lastTen !== null); + const hasGB = allRows.some((r) => r.gamesBack !== null); // # Team GP W [D] L [GF GA GD PTS] [OTL PTS] [PCT] [GB] [L10] [STK] Mgr // Soccer: 11 fixed columns. Non-soccer: 5 base + GP + optional cols.