Switch to prop-types

This commit is contained in:
Lyubo Marinov 2017-08-22 12:27:07 -05:00
parent 7114614697
commit cb5b93fb6e
1 changed files with 4 additions and 3 deletions

View File

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