Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Dec 8, 2019
1 parent f07b62e commit 8059960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/picker/emoji-search.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class EmojiSearch {
emojiId => {
// Need to make sure that pool gets keyed
// with the correct id, which is why we call emojiService.getData below
let emoji = this.emojiService.getData(emojiId);
const emoji = this.emojiService.getData(emojiId);
pool[emoji.id] = emoji;
}
);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/picker/picker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class PickerComponent implements OnInit {
this.selected = this.categories.filter(category => category.first)[0].name;

// Need to be careful if small number of categories
let categoriesToLoadFirst = Math.min(this.categories.length, 3);
const categoriesToLoadFirst = Math.min(this.categories.length, 3);
this.setActiveCategories(this.activeCategories = this.categories.slice(0, categoriesToLoadFirst));

// Trim last active category
Expand Down

0 comments on commit 8059960

Please sign in to comment.