Use isShortName function

This commit is contained in:
Ken Powers 2019-05-30 13:12:21 -04:00 committed by Scott Nonnenberg
parent a0e892bf12
commit 67660e1e39
2 changed files with 2 additions and 6 deletions

View file

@ -112,10 +112,6 @@ 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