Fix eqeqeq lint errors: use !== instead of != for null checks
https://claude.ai/code/session_01LbTWNFt6j91LxpiEhbXNop
This commit is contained in:
parent
08e93e955a
commit
4630aa61da
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue