Merge pull request #167 from vcervellera-turbulent/bf/frequently-used-with-custom-emojis

Custom Emojis as a changing prop
release
Etienne Lemay 2018-03-02 13:10:03 -05:00 committed by GitHub
commit 90ce594b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ export default class Picker extends React.PureComponent {
})
allCategories.push(CUSTOM_CATEGORY)
} else if (CUSTOM_CATEGORY.emojis.length > 0) {
CUSTOM_CATEGORY.emojis = [];
}
this.hideRecent = true