From a7b6c79136012353397203f937d2baa667d08895 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 20 Jan 2020 01:45:48 +0200 Subject: eslint --- src/components/style_switcher/style_switcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/style_switcher') diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 2a1e439b..799646b1 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -202,8 +202,8 @@ export default { ...acc, ...textColors.reduce((acc, textColorKey) => { const newKey = slotIsBaseText - ? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1) - : textColorKey + ? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1) + : textColorKey return { ...acc, [newKey]: getContrastRatioLayers( -- cgit v1.2.3-70-g09d2