Skip to content

Commit

Permalink
📝 Apply suggestion.
Browse files Browse the repository at this point in the history
Co-authored-by: Mo <[email protected]>
  • Loading branch information
JonasGilg and NXXR authored Jul 13, 2023
1 parent 053bac1 commit c314d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Sidebar/DistrictMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default function DistrictMap(): JSX.Element {
legendRef.current = legend;
}}
min={0}
// used math.round to convert the numbers to integers
// use math.round to convert the numbers to integers
max={
legend.isNormalized ? Math.round(aggregatedMax) : Math.round(legend.steps[legend.steps.length - 1].value)
}
Expand Down

0 comments on commit c314d51

Please sign in to comment.