Ver código fonte

Switch to prop-types

j8
Lyubo Marinov 8 anos atrás
pai
commit
cb5b93fb6e

+ 4
- 3
react/features/welcome/components/AbstractWelcomePage.js Ver arquivo

@@ -1,3 +1,4 @@
1
+import PropTypes from 'prop-types';
1 2
 import React, { Component } from 'react';
2 3
 
3 4
 import { appNavigate } from '../../app';
@@ -19,9 +20,9 @@ export class AbstractWelcomePage extends Component {
19 20
      * @static
20 21
      */
21 22
     static propTypes = {
22
-        _localVideoTrack: React.PropTypes.object,
23
-        _room: React.PropTypes.string,
24
-        dispatch: React.PropTypes.func
23
+        _localVideoTrack: PropTypes.object,
24
+        _room: PropTypes.string,
25
+        dispatch: PropTypes.func
25 26
     };
26 27
 
27 28
     /**

Carregando…
Cancelar
Salvar