We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae62116 commit 887c57eCopy full SHA for 887c57e
packages/geo/src/hooks.js
@@ -123,7 +123,10 @@ export const useChoropleth = ({
123
return format(valueFormat)
124
}, [valueFormat])
125
126
- const colorScale = useMemo(() => guessQuantizeColorScale(colors).domain(domain), [colors])
+ const colorScale = useMemo(() => guessQuantizeColorScale(colors).domain(domain), [
127
+ colors,
128
+ domain,
129
+ ])
130
const getFillColor = useMemo(() => {
131
return feature => {
132
if (feature.value === undefined) return unknownColor
0 commit comments