diff --git a/src/components/PmSessionList.js b/src/components/PmSessionList.js index 841eaeb..8c4b283 100644 --- a/src/components/PmSessionList.js +++ b/src/components/PmSessionList.js @@ -12,7 +12,7 @@ import PmSessionItem from './PmSessionItem'; export default class PrivateList extends Component { componentDidMount() { - this.props.fetchPmSessionList(); + this.props.fetchPmSessionList({ page: 1 }); } endReached() { diff --git a/src/containers/Message.js b/src/containers/Message.js index 387e30e..a919fea 100644 --- a/src/containers/Message.js +++ b/src/containers/Message.js @@ -99,7 +99,7 @@ class Message extends Component { navigation={navigation} currentUserId={userId} markPmAsRead={({ plid }) => this.props.markPmAsRead({ plid })} - fetchPmSessionList={() => this.fetchPmSessionList({})} + fetchPmSessionList={({ page }) => this.fetchPmSessionList({ page })} refreshPmSessionList={({ page, isEndReached }) => this.refreshPmSessionList({ page, isEndReached })} /> ); }