Return emoji object in search results
parent
87d3228d0d
commit
b07e598a8a
|
@ -36,7 +36,7 @@ function search(value, maxResults = 75) {
|
|||
|
||||
if (value.length) {
|
||||
results = index.search(tokenize(value)).map((result) =>
|
||||
result.ref
|
||||
data.emojis[result.ref]
|
||||
)
|
||||
|
||||
results = results.slice(0, maxResults)
|
||||
|
|
Loading…
Reference in New Issue