Fixed issue in getPromotions selector

• Fixed:
- issue in getPromotions selector
This commit is contained in:
mgabdev 2020-11-09 14:32:38 -06:00
parent 2649c19a50
commit 351929b148

View File

@ -44,7 +44,7 @@ export const getPromotions = () => {
(state) => state.getIn(['accounts', me, 'is_pro']), (state) => state.getIn(['accounts', me, 'is_pro']),
(state) => state.get('promotions'), (state) => state.get('promotions'),
], (state, isPro, promotions) => { ], (state, isPro, promotions) => {
return !isPro ? promotions : ImmutableList() return !isPro ? promotions : []
}) })
} }