aboutsummaryrefslogtreecommitdiff
path: root/src/services/user_highlighter/user_highlighter.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-07-07 19:12:33 +0000
committerShpuld Shpludson <shp@cock.li>2019-07-07 19:12:33 +0000
commit54b0f9013388b24769c587abbf7ca76849ce9570 (patch)
tree2b1ff13b76993b88a384ae8d001e599493ab154c /src/services/user_highlighter/user_highlighter.js
parent171673113fd353666ae9b593abec8f64ec9ea6ef (diff)
parent020c6d1bcfaf67ccb9ecdab13a39a1ddea868bb6 (diff)
Merge branch 'eslint-fix' into 'develop'
Fix shitton warning eslint gives See merge request pleroma/pleroma-fe!871
Diffstat (limited to 'src/services/user_highlighter/user_highlighter.js')
-rw-r--r--src/services/user_highlighter/user_highlighter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/user_highlighter/user_highlighter.js b/src/services/user_highlighter/user_highlighter.js
index f6ddfb9c..b91c0f78 100644
--- a/src/services/user_highlighter/user_highlighter.js
+++ b/src/services/user_highlighter/user_highlighter.js
@@ -1,7 +1,7 @@
import { hex2rgb } from '../color_convert/color_convert.js'
const highlightStyle = (prefs) => {
if (prefs === undefined) return
- const {color, type} = prefs
+ const { color, type } = prefs
if (typeof color !== 'string') return
const rgb = hex2rgb(color)
if (rgb == null) return