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:
parent
24d9ce2f31
commit
c636c4e090
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue