Emptying custom category when custom prop is cleared
parent
1c1fe761b6
commit
88d7e2f506
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue