mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Add comment to update shouldComponentUpdate
if adding new props
This commit is contained in:
parent
47ddc6dedf
commit
3ac154b7da
@ -30,6 +30,8 @@ import VectorConferenceHandler from '../../VectorConferenceHandler';
|
||||
var LeftPanel = React.createClass({
|
||||
displayName: 'LeftPanel',
|
||||
|
||||
// NB. If you add props, don't forget to update
|
||||
// shouldComponentUpdate!
|
||||
propTypes: {
|
||||
collapsed: React.PropTypes.bool.isRequired,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user