Sticker improvements

This commit is contained in:
Evan Hahn 2020-08-31 11:29:22 -05:00 committed by Josh Perez
parent b5e1e3a345
commit fd06ac9d57
3 changed files with 11 additions and 6 deletions

View file

@ -666,10 +666,7 @@ function getStickerPackStatus(packId) {
}
function getSticker(packId, stickerId) {
const state = reduxStore.getState();
const { stickers } = state;
const { packs } = stickers;
const pack = packs[packId];
const pack = getStickerPack(packId);
if (!pack || !pack.stickers) {
return null;