diff --git a/components/data-grids/route-optimizer-comm-recs-data-grid.tsx b/components/data-grids/route-optimizer-comm-recs-data-grid.tsx index 01805bdd..7696cf19 100644 --- a/components/data-grids/route-optimizer-comm-recs-data-grid.tsx +++ b/components/data-grids/route-optimizer-comm-recs-data-grid.tsx @@ -32,7 +32,8 @@ function Chip({ children, color }: { children: React.ReactNode; color?: string } ) } -function ProbChip({ prob, best }: { prob: number; best?: boolean }) { +function ProbChip({ prob, best }: { prob: number | null; best?: boolean }) { + if (prob === null) return — return ( {r.recommended.jh}