Update packages

This commit is contained in:
Benji Grant 2023-06-09 02:15:40 +10:00
parent d4418a1dc2
commit c6875b0332
3 changed files with 117 additions and 108 deletions

View file

@ -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])
}