Skip to content

Commit

Permalink
fix(redux): some update on previous commit
Browse files Browse the repository at this point in the history
fixing #109
  • Loading branch information
roman-ojha committed Jun 24, 2022
1 parent 282ed23 commit c562c61
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/services/redux/action.ts
Expand Up @@ -8,3 +8,8 @@ export * from "./pages/stories/action";
export * from "./pages/profile/profilePageData/action";
export * from "./pages/profile/rootUserProfileData/action";
export * from "./pages/profile/userProfilePost/action";
export * from "./pages/home/emojiPicker/action";
export * from "./pages/home/followedUserPostData/action";
export * from "./pages/home/homePagePostFieldViewValue/action";
export * from "./pages/home/homePageUserPostFieldData/action";
export * from "./pages/home/userPostResponseData/action";
Expand Up @@ -17,4 +17,5 @@ const homePagePostFieldViewValue = (
return state;
}
};

export default homePagePostFieldViewValue;
10 changes: 10 additions & 0 deletions client/src/services/redux/reducer.ts
Expand Up @@ -9,6 +9,11 @@ import userStoriesReducer from "./pages/stories/reducer";
import profilePageDataReducer from "./pages/profile/profilePageData/reducer";
import rootUserProfileDataState from "./pages/profile/rootUserProfileData/reducer";
import setUserProfilePostReducer from "./pages/profile/userProfilePost/reducer";
import displayEmojiPicker from "./pages/home/emojiPicker/reducer";
import setFollowedUserPostDataReducer from "./pages/home/followedUserPostData/reducer";
import homePagePostFieldViewValue from "./pages/home/homePagePostFieldViewValue/reducer";
import homePageUserPostFieldDataReducer from "./pages/home/homePageUserPostFieldData/reducer";
import setUserPostResponseData from "./pages/home/userPostResponseData/reducer";

const reducer = combineReducers({
setUserProfileDetailReducer,
Expand All @@ -21,6 +26,11 @@ const reducer = combineReducers({
profilePageDataReducer,
rootUserProfileDataState,
setUserProfilePostReducer,
displayEmojiPicker,
setFollowedUserPostDataReducer,
homePagePostFieldViewValue,
homePageUserPostFieldDataReducer,
setUserPostResponseData,
});

export default reducer;

0 comments on commit c562c61

Please sign in to comment.