Fix load more in premod queue

This commit is contained in:
Chi Vinh Le
2017-04-19 16:35:53 +07:00
parent 1750510d34
commit 7698bdf930
@@ -55,7 +55,7 @@ export const loadMore = (fetchMore) => ({limit, cursor, sort, tab, asset_id}) =>
statuses,
asset_id
},
updateQuery: (oldData, {fetchMoreResult:{data:{comments}}}) => {
updateQuery: (oldData, {fetchMoreResult:{comments}}) => {
return {
...oldData,
[tab]: [