diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index f2894bd6b3..a3ad033acc 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -75,7 +75,7 @@ module.exports = React.createClass({ // a callback which is called when the height of the composer is // changed due to a change in content. - onResize: React.PropTypes.function, + onResize: React.PropTypes.func, }, componentWillMount: function() { diff --git a/src/components/views/voip/CallView.js b/src/components/views/voip/CallView.js index 98bad37467..ed44313b9e 100644 --- a/src/components/views/voip/CallView.js +++ b/src/components/views/voip/CallView.js @@ -36,7 +36,7 @@ module.exports = React.createClass({ propTypes: { // a callback which is called when the video within the callview // due to a change in video metadata - onResize: React.PropTypes.function, + onResize: React.PropTypes.func, }, componentDidMount: function() { diff --git a/src/components/views/voip/VideoFeed.js b/src/components/views/voip/VideoFeed.js index 88d1b50cce..c4a65d1145 100644 --- a/src/components/views/voip/VideoFeed.js +++ b/src/components/views/voip/VideoFeed.js @@ -24,7 +24,7 @@ module.exports = React.createClass({ propTypes: { // a callback which is called when the video element is resized // due to a change in video metadata - onResize: React.PropTypes.function, + onResize: React.PropTypes.func, }, componentDidMount() {