白石誠 5 лет назад
Родитель
Сommit
e63ae46e34
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/client/js/components/PageTimeline.jsx

+ 2 - 1
src/client/js/components/PageTimeline.jsx

@@ -15,9 +15,10 @@ class PageTimeline extends React.Component {
 
   constructor(props) {
     super(props);
+
+    const { appContainer } = this.props;
     this.showPages = this.showPages.bind(this);
     this.handlePage = this.handlePage.bind(this);
-    const { appContainer } = this.props;
     this.state = {
       activePage: 1,
       totalPages: 0,