Fix eqeqeq lint errors: use !== instead of != for null checks (#414)

https://claude.ai/code/session_01LbTWNFt6j91LxpiEhbXNop

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Parsons 2026-05-12 08:30:40 -07:00 committed by GitHub
parent 08e93e955a
commit c5366fe9cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.