Moved state variable.
This commit is contained in:
1 parent
67b3427485
commit
19ce7c7a4d
2 files changed
+4
-4
No files matched your search
@@ -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