diff options
| author | Dym Sohin <re@dym.sh> | 2020-09-21 17:42:17 +0200 |
|---|---|---|
| committer | Dym Sohin <re@dym.sh> | 2020-09-21 17:42:17 +0200 |
| commit | f1e1f20a8d89abf7920997c12d5c7b48cdb2d628 (patch) | |
| tree | 4ae6ac19a0176c3e3038f32fd97344e2e01d1477 /src/components/react_button | |
| parent | fee654f1eee276a1d30c8fcb2699e567fc281967 (diff) | |
fix 8x spaces inside this paren
Diffstat (limited to 'src/components/react_button')
| -rw-r--r-- | src/components/react_button/react_button.js | 4 |
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) } } |
