Untitled
unknown
plain_text
4 years ago
357 B
6
Indexable
const mapStateToProps = (state) => {
console.log('ActiveChat.mapStateToProps invoked', state);
return {
user: state.user,
conversation: Object.assign({},
state.conversations &&
state.conversations.find(
(conversation) => conversation.otherUser.username === state.activeConversation
)
)
};
};Editor is loading...