From 31d97653ad3f86534ec60b5caa334682749e7a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Sandvik?= Date: Mon, 25 Sep 2023 13:47:18 +0200 Subject: [PATCH] chore: code cleaning --- src/util/colors.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util/colors.js b/src/util/colors.js index 789959494..f52e38a20 100644 --- a/src/util/colors.js +++ b/src/util/colors.js @@ -38,9 +38,7 @@ export const colorScales = [ ] // Returns a color brewer scale for a number of classes -export const getColorPalette = (scale, classes) => { - return colorbrewer[scale][classes] -} +export const getColorPalette = (scale, classes) => colorbrewer[scale][classes] // Returns color scale name for a palette // join(',') is used to compare two arrays of colors