Skip to content

Commit

Permalink
add more null handling
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmeshulam committed Jul 9, 2024
1 parent c8bdc4d commit 2d3e213
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ const TeamInformationChart: React.FC<TeamInformationChartProps> = ({ division, t
<TableBody>
<TableRow>
<TableCell>ניקוד גבוה ביותר (רובוט)</TableCell>
<TableCell>{Number(data.robotPerformance.maxScore?.toFixed(2))}</TableCell>
<TableCell>{Number(data.robotPerformance?.maxScore?.toFixed(2))}</TableCell>
</TableRow>
<TableRow>
<TableCell>סטיית תקן יחסית (רובוט)</TableCell>
<TableCell>{Number(data.robotPerformance.relStdDev?.toFixed(2)) + '%'}</TableCell>
<TableCell>{Number(data.robotPerformance?.relStdDev?.toFixed(2)) + '%'}</TableCell>
</TableRow>
<TableRow>
<TableCell>פרסים</TableCell>
Expand Down

0 comments on commit 2d3e213

Please sign in to comment.