ref(dialog): set mounted flag after mount
This commit is contained in:
parent
609f3887f2
commit
c4f1588bb0
|
@ -49,12 +49,12 @@ export default class AbstractDialog<P : Props, S : State>
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements React's {@link Component#componentWillMount()}. Invoked
|
||||
* Implements React's {@link Component#componentDidMount()}. Invoked
|
||||
* immediately before mounting occurs.
|
||||
*
|
||||
* @inheritdoc
|
||||
*/
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
this._mounted = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue