Fixed issue in getPromotions selector
• Fixed: - issue in getPromotions selector
This commit is contained in:
parent
2649c19a50
commit
351929b148
@ -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 : []
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user