Use pool to lookup emoji data
parent
bb2aff1c3f
commit
b644e3d2d3
|
@ -152,7 +152,7 @@ function search(
|
||||||
if (results) {
|
if (results) {
|
||||||
if (emojisToShowFilter) {
|
if (emojisToShowFilter) {
|
||||||
results = results.filter(result =>
|
results = results.filter(result =>
|
||||||
emojisToShowFilter(data.emojis[result.id])
|
emojisToShowFilter(pool[result.id])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue