From 555c5a58bd79be849c22621f0c1281f704d1afe2 Mon Sep 17 00:00:00 2001 From: julianajlk Date: Fri, 15 Dec 2023 11:06:03 -0500 Subject: [PATCH] fix: Reducer changes based on feedback --- src/subscriptions/reducer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/subscriptions/reducer.js b/src/subscriptions/reducer.js index 7d532af98..72cb4e61f 100644 --- a/src/subscriptions/reducer.js +++ b/src/subscriptions/reducer.js @@ -15,18 +15,17 @@ const subscriptionsReducer = (state = initialState, action = {}) => { case fetchSubscriptions.TRIGGER: return { ...state, + loading: true, loadingError: false, }; case fetchSubscriptions.SUCCESS: return { ...state, - loading: false, subscriptions: action.payload, }; case fetchSubscriptions.FAILURE: return { ...state, - loading: false, loadingError: true, }; case fetchSubscriptions.FULFILL: