Commit 188dc4e0 authored by mgabdev's avatar mgabdev

Removed updateOnProps in Status component

• Removed:
- updateOnProps in Status component
parent 6d85c76c
......@@ -74,22 +74,6 @@ class Status extends ImmutablePureComponent {
router: PropTypes.object,
}
// Avoid checking props that are functions (and whose equality will always
// evaluate to false. See react-immutable-pure-component for usage.
updateOnProps = [
'status',
'descendantsIds',
'isChild',
'isPromoted',
'isFeatured',
'isPinnedInGroup',
'isMuted',
'isHidden',
'isIntersecting',
'isComment',
'commentSortingType',
]
state = {
loadedComments: false,
showMedia: defaultMediaVisibility(this.props.status),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment