Skip to content

Commit

Permalink
fix: emoji_selector ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
braddialpad committed Dec 5, 2023
1 parent 4f5efd0 commit ee3078e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default {
}
},
searchByNameAndKeywords: function () {
searchByNameAndKeywords() {
const searchStr = this.emojiFilter.toLowerCase();
this.filteredEmojis = this.currentEmojis.filter(function (obj) {
const nameIncludesSearchStr = obj.name.toLowerCase().includes(searchStr);
Expand Down Expand Up @@ -368,7 +368,7 @@ export default {
this.focusEmoji(0, 0);
},
hoverEmoji: function (emoji, isFirst) {
hoverEmoji (emoji, isFirst) {
if (isFirst === undefined) { isFirst = false; }
this.hoverFirstEmoji = isFirst;
this.$emit('highlighted-emoji', emoji);
Expand Down Expand Up @@ -535,7 +535,7 @@ export default {
}
},
handleKeyDownFilteredEmojis: function (event, indexEmoji, emoji) {
handleKeyDownFilteredEmojis (event, indexEmoji, emoji) {
event.preventDefault();
this.hoverFirstEmoji = false;
Expand Down

0 comments on commit ee3078e

Please sign in to comment.