Switch to prop-types
This commit is contained in:
parent
7114614697
commit
cb5b93fb6e
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue