Revert to UNSAFE_componentWillMount where componentDidMount will not work
This commit is contained in:
@@ -55,7 +55,8 @@ export default createReactClass({
|
||||
askReason: false,
|
||||
}),
|
||||
|
||||
componentDidMount: function() {
|
||||
// TODO: [REACT-WARNING] Move this to constructor
|
||||
UNSAFE_componentWillMount: function() {
|
||||
this._reasonField = null;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user