瀏覽代碼

FB by Takeisan

白石誠 5 年之前
父節點
當前提交
bafc1b8009
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/client/js/components/PageTimeline.jsx

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

@@ -23,7 +23,9 @@ class PageTimeline extends React.Component {
       activePage: 1,
       totalPages: 0,
       limit: appContainer.getConfig().recentCreatedLimit,
-      pages: [],
+
+      // TODO: remove after when timeline is implemented with React and inject data with props
+      pages: this.props.pages,
     };
 
   }