Revert to UNSAFE_componentWillMount where componentDidMount will not work
This commit is contained in:
parent
3f99332f4b
commit
8f04746e4e
7 changed files with 14 additions and 7 deletions
|
@ -113,7 +113,8 @@ export default createReactClass({
|
|||
};
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
// TODO: [REACT-WARNING] Move this to constructor
|
||||
UNSAFE_componentWillMount: function() {
|
||||
this._unmounted = false;
|
||||
|
||||
// map from login step type to a function which will render a control
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue