Don't include emoji name when searching; only use short_name
This commit is contained in:
parent
46baf2a69b
commit
6936cc1e2e
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ const fuse = new Fuse(data, {
|
|||
shouldSort: true,
|
||||
threshold: 0.2,
|
||||
minMatchCharLength: 1,
|
||||
keys: ['short_name', 'name'],
|
||||
keys: ['short_name'],
|
||||
});
|
||||
|
||||
export function search(query: string, count = 0): Array<EmojiData> {
|
||||
|
|
Loading…
Add table
Reference in a new issue