Fix lint: use !== null check instead of != null

oxlint enforces eqeqeq; replace != null with !== null && !== undefined.

https://claude.ai/code/session_01Gu2DkTWL3nv74EMuGPpxhG
This commit is contained in:
Claude 2026-05-16 00:14:27 +00:00
parent 24d9ce2f31
commit c636c4e090
No known key found for this signature in database

View file

@ -194,7 +194,7 @@ export default function PreDraftRankings() {
<p className="font-medium text-sm truncate">{p.name}</p>
<p className="text-xs text-muted-foreground">{p.sport.name}</p>
</div>
{p.vorpValue != null && (
{p.vorpValue !== null && p.vorpValue !== undefined && (
<span className="text-xs text-muted-foreground tabular-nums shrink-0">
{Number(p.vorpValue).toFixed(1)}
</span>