ソースを参照

ref(dialog): set mounted flag after mount

master
Leonard Kim 7年前
コミット
c4f1588bb0
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      react/features/base/dialog/components/AbstractDialog.js

+ 2
- 2
react/features/base/dialog/components/AbstractDialog.js ファイルの表示

49
     }
49
     }
50
 
50
 
51
     /**
51
     /**
52
-     * Implements React's {@link Component#componentWillMount()}. Invoked
52
+     * Implements React's {@link Component#componentDidMount()}. Invoked
53
      * immediately before mounting occurs.
53
      * immediately before mounting occurs.
54
      *
54
      *
55
      * @inheritdoc
55
      * @inheritdoc
56
      */
56
      */
57
-    componentWillMount() {
57
+    componentDidMount() {
58
         this._mounted = true;
58
         this._mounted = true;
59
     }
59
     }
60
 
60
 

読み込み中…
キャンセル
保存