Skip to content

Commit

Permalink
fix webpack useEffect dependency list warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit-p committed Oct 22, 2022
1 parent 60a733b commit b0fc7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/globe/Globe.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function Globe({width, height, backgroundColor, dotColor}) {
hexPolygonAltitude={0.02}
hexPolygonResolution={2}
hexPolygonMargin={0.85}
hexPolygonColor={useCallback(() => dotColor, [])}
hexPolygonColor={useCallback(() => dotColor, [dotColor])}
hexPolygonCurvatureResolution={0}
labelsData={labelsData}
labelLat={useCallback(d => d.properties.LABEL_Y, [])}
Expand Down

0 comments on commit b0fc7d4

Please sign in to comment.