mirror of
https://github.com/vector-im/element-web.git
synced 2026-01-02 23:21:09 +01:00
s/function/func/ in PropTypes declarations
This commit is contained in:
parent
5a0adb9cdc
commit
cd52549713
@ -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() {
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user