Skip to content

Commit

Permalink
Change another hard-coded 31 to constant MAX_IV
Browse files Browse the repository at this point in the history
  • Loading branch information
coinmoles committed Jul 19, 2024
1 parent 180d58b commit fd4c9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/IvChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const IvChart: React.FC<IvChartProps> = ({
/>
)}
/>
<PolarRadiusAxis className="hidden" domain={[0, 31]} />
<PolarRadiusAxis className="hidden" domain={[0, MAX_IV]} />
<PolarGrid />
<Radar dataKey="value" fill="hsl(var(--primary))" fillOpacity={0.7} />
</RadarChart>
Expand Down

0 comments on commit fd4c9c4

Please sign in to comment.