Removed updateOnProps in Status component

• Removed:
- updateOnProps in Status component
This commit is contained in:
mgabdev 2020-09-11 17:54:09 -05:00
parent 6d85c76c8f
commit 188dc4e008
1 changed files with 0 additions and 16 deletions

View File

@ -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),