diff --git a/src/api/domain/comment/comment.helper.ts b/src/api/domain/comment/comment.helper.ts index b67435b0..c1b77157 100644 --- a/src/api/domain/comment/comment.helper.ts +++ b/src/api/domain/comment/comment.helper.ts @@ -183,7 +183,7 @@ export const updateReplyId = ( }; return { ...page, - data: updatedData, + ...updatedData, }; }); @@ -207,7 +207,7 @@ export const removeCommentToPages = ( }; return { ...page, - data: updatedData, + ...updatedData, }; }); @@ -243,7 +243,7 @@ export const removeReplyToPages = ( }; return { ...page, - data: updatedData, + ...updatedData, }; });