Removed updateOnProps in Status component
• Removed: - updateOnProps in Status component
This commit is contained in:
parent
6d85c76c8f
commit
188dc4e008
@ -74,22 +74,6 @@ class Status extends ImmutablePureComponent {
|
|||||||
router: PropTypes.object,
|
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 = {
|
state = {
|
||||||
loadedComments: false,
|
loadedComments: false,
|
||||||
showMedia: defaultMediaVisibility(this.props.status),
|
showMedia: defaultMediaVisibility(this.props.status),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user