Moved state variable.
This commit is contained in:
@@ -97,7 +97,7 @@ MessageList.propTypes =
|
||||
const mapStateToProps = (state) =>
|
||||
({
|
||||
chatmessages : state.chatmessages,
|
||||
myPicture : state.me.picture
|
||||
myPicture : state.settings.picture
|
||||
});
|
||||
|
||||
export default connect(
|
||||
@@ -109,7 +109,7 @@ export default connect(
|
||||
{
|
||||
return (
|
||||
prev.chatmessages === next.chatmessages &&
|
||||
prev.me.picture === next.me.picture
|
||||
prev.settings.picture === next.settings.picture
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user