Fix ESLint: Remove unused variable

pull/6709/head
Rodrigo Nascimento 9 years ago committed by GitHub
parent 22f3f44714
commit 2a48eefcb3
  1. 2
      packages/rocketchat-emoji/emojiPicker.js

@ -127,7 +127,7 @@ Template.emojiPicker.helpers({
const searchTerm = t.currentSearchTerm.get();
const activeCategory = t.currentCategory.get();
//this will cause the reflow when recent list gets updated
const recentNeedsUpdate = t.recentNeedsUpdate.get();
t.recentNeedsUpdate.get();
//we only need to replace the active category, since switching tabs resets the filter
if (activeCategory !== category) {

Loading…
Cancel
Save