diff --git a/apps/comments-ui/src/actions.js b/apps/comments-ui/src/actions.js index 80eee9caa1..00d28a312a 100644 --- a/apps/comments-ui/src/actions.js +++ b/apps/comments-ui/src/actions.js @@ -16,10 +16,11 @@ async function addComment({state, api, data: comment}) { const data = await api.comments.add({comment}); comment = data.comments[0]; + // Temporary workaround for missing member relation (bug in API) const commentStructured = { ...comment, - // Temporary workaround for missing member relation (bug in API) - member: state.member + member: state.member, + replies: [] }; return {