|
|
@@ -57,15 +57,15 @@ class WelcomePage extends AbstractWelcomePage {
|
|
57
|
57
|
}
|
|
58
|
58
|
|
|
59
|
59
|
/**
|
|
60
|
|
- * Implements React's {@link Component#componentWillMount()}. Invoked
|
|
61
|
|
- * immediately before mounting occurs. Creates a local video track if none
|
|
|
60
|
+ * Implements React's {@link Component#componentDidMount()}. Invoked
|
|
|
61
|
+ * immediately after mounting occurs. Creates a local video track if none
|
|
62
|
62
|
* is available and the camera permission was already granted.
|
|
63
|
63
|
*
|
|
64
|
64
|
* @inheritdoc
|
|
65
|
65
|
* @returns {void}
|
|
66
|
66
|
*/
|
|
67
|
|
- componentWillMount() {
|
|
68
|
|
- super.componentWillMount();
|
|
|
67
|
+ componentDidMount() {
|
|
|
68
|
+ super.componentDidMount();
|
|
69
|
69
|
|
|
70
|
70
|
const { dispatch } = this.props;
|
|
71
|
71
|
|