From 351929b148a872dc1f66b84f765bb65aee5b25df Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 9 Nov 2020 14:32:38 -0600 Subject: [PATCH] Fixed issue in getPromotions selector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fixed: - issue in getPromotions selector --- app/javascript/gabsocial/selectors/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/gabsocial/selectors/index.js b/app/javascript/gabsocial/selectors/index.js index 8df93180..f33e21d4 100644 --- a/app/javascript/gabsocial/selectors/index.js +++ b/app/javascript/gabsocial/selectors/index.js @@ -44,7 +44,7 @@ export const getPromotions = () => { (state) => state.getIn(['accounts', me, 'is_pro']), (state) => state.get('promotions'), ], (state, isPro, promotions) => { - return !isPro ? promotions : ImmutableList() + return !isPro ? promotions : [] }) }