Only show pack installed tooltip for non-blessed, local installs

This commit is contained in:
Scott Nonnenberg 2020-01-09 06:35:33 -08:00 committed by Ken Powers
parent a0e9bb80a9
commit 0f9bc57ccb
2 changed files with 14 additions and 5 deletions

View file

@ -13,6 +13,7 @@ import {
getInstalledStickerPacks,
getKnownStickerPacks,
getReceivedStickerPacks,
getRecentlyInstalledStickerPack,
getRecentStickers,
} from '../selectors/stickers';
@ -40,6 +41,8 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
const blessedPacks = getBlessedStickerPacks(state);
const knownPacks = getKnownStickerPacks(state);
const installedPack = getRecentlyInstalledStickerPack(state);
const recentStickers = getRecentStickers(state);
const showIntroduction = get(
state.items,
@ -61,8 +64,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
skinTone: get(state, ['items', 'skinTone'], 0),
// Stickers
receivedPacks,
// 'Installed Pack' tooltip disabled for now
installedPack: null,
installedPack,
blessedPacks,
knownPacks,
installedPacks,