Merge pull request #428 from coralproject/load-more-fix

Fixed bug in loading more comments
This commit is contained in:
Wyatt Johnson
2017-03-21 08:07:00 -06:00
committed by GitHub
@@ -39,7 +39,7 @@ export const getCounts = (data) => ({asset_id, limit, sort}) => {
});
};
export const loadMore = (data) => ({limit, cursor, parent_id, asset_id, sort}, newComments) => {
export const loadMore = (data) => ({limit, cursor, parent_id = null, asset_id, sort}, newComments) => {
return data.fetchMore({
query: LOAD_MORE,
variables: {