Selaa lähdekoodia

FB by Takeisan

白石誠 5 vuotta sitten
vanhempi
sitoutus
bafc1b8009
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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,
     };
 
   }