Skip to content

Commit

Permalink
Use pool to lookup emoji data
Browse files Browse the repository at this point in the history
  • Loading branch information
savardc committed Dec 20, 2017
1 parent bb2aff1 commit b644e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/emoji-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function search(
if (results) {
if (emojisToShowFilter) {
results = results.filter(result =>
emojisToShowFilter(data.emojis[result.id])
emojisToShowFilter(pool[result.id])
)
}

Expand Down

0 comments on commit b644e3d

Please sign in to comment.