From d724676daf8ea305f6ed0c33a0fc09ce7adacc26 Mon Sep 17 00:00:00 2001 From: ByronEricPerez Date: Fri, 26 Aug 2022 17:25:48 -0300 Subject: [PATCH] Fixed why it didn't show comments --- ui/component/commentsList/index.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/component/commentsList/index.js b/ui/component/commentsList/index.js index 8c74d8fe3..910ced4e3 100644 --- a/ui/component/commentsList/index.js +++ b/ui/component/commentsList/index.js @@ -65,11 +65,12 @@ const select = (state, props) => { }; const perform = (dispatch, ownProps) => ({ - fetchTopLevelComments: doCommentList, - fetchComment: doCommentById, - fetchReacts: doCommentReactList, - resetComments: doCommentReset, - doResolveUris, + fetchTopLevelComments: (uri, parentId, page, pageSize, sortBy) => + dispatch(doCommentList(uri, parentId, page, pageSize, sortBy)), + fetchComment: (commentId) => dispatch(doCommentById(commentId)), + fetchReacts: (commentIds) => dispatch(doCommentReactList(commentIds)), + resetComments: (claimId) => dispatch(doCommentReset(claimId)), + doResolveUris: (uris, returnCachedClaims) => dispatch(doResolveUris(uris, returnCachedClaims)), setCommentServer: (url) => dispatch(doSetClientSetting(SETTINGS.CUSTOM_COMMENTS_SERVER_URL, url, true)), });