BOD-14 Cleanup and re-org of some components for messaging.

This commit is contained in:
Patrick Fic
2020-03-27 16:33:31 -07:00
parent f80f96f3df
commit c0be80b42e
11 changed files with 123 additions and 155 deletions

View File

@@ -94,7 +94,7 @@ const messagingReducer = (state = INITIAL_STATE, action) => {
return {
...state,
conversations: state.conversations.map(c =>
c.phone_num === action.payload ? { ...c, open: !c.open } : c
c.id === action.payload ? { ...c, open: !c.open } : c
)
};