aboutsummaryrefslogtreecommitdiff
path: root/src/components/react_button
diff options
context:
space:
mode:
authorDym Sohin <re@dym.sh>2020-09-21 17:42:17 +0200
committerDym Sohin <re@dym.sh>2020-09-21 17:42:17 +0200
commitf1e1f20a8d89abf7920997c12d5c7b48cdb2d628 (patch)
tree4ae6ac19a0176c3e3038f32fd97344e2e01d1477 /src/components/react_button
parentfee654f1eee276a1d30c8fcb2699e567fc281967 (diff)
fix 8x spaces inside this paren
Diffstat (limited to 'src/components/react_button')
-rw-r--r--src/components/react_button/react_button.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/react_button/react_button.js b/src/components/react_button/react_button.js
index 473a2506..28ce884a 100644
--- a/src/components/react_button/react_button.js
+++ b/src/components/react_button/react_button.js
@@ -31,8 +31,8 @@ const ReactButton = {
const filterWordLowercase = this.filterWord.toLowerCase()
const orderedEmojiList = []
for (const emoji of this.$store.state.instance.emoji) {
- const indexOfFilterWord = emoji.displayText.toLowerCase().indexOf( filterWordLowercase )
- if ( indexOfFilterWord > -1 ) {
+ const indexOfFilterWord = emoji.displayText.toLowerCase().indexOf(filterWordLowercase)
+ if (indexOfFilterWord > -1) {
orderedEmojiList.splice(indexOfFilterWord, 0, emoji)
}
}