From 8c8948f3f233d475e62c39eb49a4a21c4a5a95bb Mon Sep 17 00:00:00 2001 From: noumantahir Date: Sat, 29 Jan 2022 16:23:40 +0500 Subject: [PATCH] fixed bug with sorting --- src/components/comments/container/commentsContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/comments/container/commentsContainer.js b/src/components/comments/container/commentsContainer.js index 8524ade0c..55dc9be7d 100644 --- a/src/components/comments/container/commentsContainer.js +++ b/src/components/comments/container/commentsContainer.js @@ -165,7 +165,7 @@ const CommentsContainer = ({ .then((__comments) => { //TODO: favourable place for merging comment cache if (selectedFilter) { - const __comments = _shortComments(selectedFilter, __comments); + __comments = _shortComments(selectedFilter, __comments); } __comments = _handleCachedComment(__comments);