Skip to content

Commit

Permalink
fix(redux): updated typescript for rootUserFriend
Browse files Browse the repository at this point in the history
fixing #109
  • Loading branch information
roman-ojha committed Jun 24, 2022
1 parent 4de06d2 commit 8bcd500
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/services/redux-reducer/index.js
Expand Up @@ -27,11 +27,13 @@ import rootUserFriends from "./global/rootUserFriends";
import rootUserProfileDataState from "./page/profile/rootUserProfileDataState";
import displayEmojiPicker from "./page/home/displayEmojiPicker";
// Typescript
import userProfileDetailReducer from "./global/rootUserProfileDetail/reducer";
// import userProfileDetailReducer from "./global/rootUserProfileDetail/reducer";
// import rootUserFriends from "./global/rootUserFriends/reducer";

const rootReducers = combineReducers({
// Javascript
setUserProfileDetailReducer,
rootUserFriends,
changeMainPageMessageView,
setUserPostResponseData,
homePageUserPostFieldDataReducer,
Expand All @@ -54,11 +56,11 @@ const rootReducers = combineReducers({
moreProfileBoxReducer,
showLoadingSpinnerReducer,
videoPageDataReducer,
rootUserFriends,
rootUserProfileDataState,
displayEmojiPicker,
// Typescript
userProfileDetailReducer,
// userProfileDetailReducer,
// rootUserFriends,
});

export default rootReducers;

0 comments on commit 8bcd500

Please sign in to comment.