Update packages
This commit is contained in:
parent
d4418a1dc2
commit
c6875b0332
3 changed files with 117 additions and 108 deletions
|
|
@ -10,5 +10,5 @@ export const usePalette = (steps: number) => {
|
|||
return useMemo(() => createPalette({
|
||||
map: (colormap === undefined || colormap === 'crabfit') ? [[0, [247, 158, 0, 0]], [1, [247, 158, 0, 255]]] : colormap,
|
||||
steps,
|
||||
}).format(), [steps])
|
||||
}).format(), [steps, colormap])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue