mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 11:43:31 +08:00
Merge pull request #428 from coralproject/load-more-fix
Fixed bug in loading more comments
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user