mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Fixed bug in loading more comments
This commit is contained in:
1 parent
471a55c3eb
commit
20348d5f05
1 file changed
+1
-1
@@ -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