Exclude invalid recent emoji, simplify items redux structure
This commit is contained in:
parent
46b4cf56a3
commit
86a38d2f2b
4 changed files with 16 additions and 5 deletions
|
@ -112,6 +112,10 @@ export const dataByCategory = mapValues(
|
|||
arr => sortBy(arr, 'sort_order')
|
||||
);
|
||||
|
||||
export function isShortNameValid(shortName: string) {
|
||||
return Boolean(dataByShortName[shortName]);
|
||||
}
|
||||
|
||||
export function getSheetCoordinates(
|
||||
shortName: keyof typeof dataByShortName,
|
||||
skinTone?: SkinToneKey | number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue