From b644e3d2d3ab6c5db2a87b89fccc316cd7745e3b Mon Sep 17 00:00:00 2001 From: Christian Savard Date: Wed, 20 Dec 2017 11:33:15 -0500 Subject: [PATCH] Use pool to lookup emoji data --- src/utils/emoji-index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/emoji-index.js b/src/utils/emoji-index.js index bf02d2f..5b10b4c 100644 --- a/src/utils/emoji-index.js +++ b/src/utils/emoji-index.js @@ -152,7 +152,7 @@ function search( if (results) { if (emojisToShowFilter) { results = results.filter(result => - emojisToShowFilter(data.emojis[result.id]) + emojisToShowFilter(pool[result.id]) ) }