diff options
Diffstat (limited to 'src/store/reducers')
| -rw-r--r-- | src/store/reducers/userMomentsReducer.ts | 6 | ||||
| -rw-r--r-- | src/store/reducers/userSocialsReducer.ts | 6 | ||||
| -rw-r--r-- | src/store/reducers/userXReducer.ts | 5 |
3 files changed, 6 insertions, 11 deletions
diff --git a/src/store/reducers/userMomentsReducer.ts b/src/store/reducers/userMomentsReducer.ts index 97c9a1fd..e1e8d96c 100644 --- a/src/store/reducers/userMomentsReducer.ts +++ b/src/store/reducers/userMomentsReducer.ts @@ -18,8 +18,6 @@ const userMomentsSlice = createSlice({ }, }); -export const { - userMomentsFetched, - momentCategoryDeleted, -} = userMomentsSlice.actions; +export const {userMomentsFetched, momentCategoryDeleted} = + userMomentsSlice.actions; export const userMomentsReducer = userMomentsSlice.reducer; diff --git a/src/store/reducers/userSocialsReducer.ts b/src/store/reducers/userSocialsReducer.ts index de79568c..1186fa80 100644 --- a/src/store/reducers/userSocialsReducer.ts +++ b/src/store/reducers/userSocialsReducer.ts @@ -14,8 +14,6 @@ const userSocialsSlice = createSlice({ }, }); -export const { - userSocialsFetched, - individualSocialfetched, -} = userSocialsSlice.actions; +export const {userSocialsFetched, individualSocialfetched} = + userSocialsSlice.actions; export const userSocialsReducer = userSocialsSlice.reducer; diff --git a/src/store/reducers/userXReducer.ts b/src/store/reducers/userXReducer.ts index 9f90d58d..0a9e71bb 100644 --- a/src/store/reducers/userXReducer.ts +++ b/src/store/reducers/userXReducer.ts @@ -7,9 +7,8 @@ const userXSlice = createSlice({ initialState: EMPTY_SCREEN_TO_USERS_LIST, reducers: { userXRequested: (state, action) => { - state[<ScreenType>action.payload.screenType][ - action.payload.userId - ] = EMPTY_USER_X; + state[<ScreenType>action.payload.screenType][action.payload.userId] = + EMPTY_USER_X; }, userXProfileFetched: (state, action) => { |
