2
0
Эх сурвалжийг харах

improve performance for PageHistory

Yuki Takei 6 жил өмнө
parent
commit
2226fff203

+ 1 - 1
src/client/js/components/PageHistory.jsx

@@ -24,7 +24,7 @@ class PageHistory extends React.Component {
     this.onDiffOpenClicked = this.onDiffOpenClicked.bind(this);
   }
 
-  async componentDidMount() {
+  async componentWillMount() {
     const pageId = this.props.pageId;
 
     if (!pageId) {