Fixed bug in loading more comments

This commit is contained in:
Wyatt Johnson
2017-03-20 15:58:33 -06:00
parent 471a55c3eb
commit 20348d5f05
@@ -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: {