const getNewComment = (commentValue, isRootNode = false, parentNodeId) => { return { id: uuidv4(), commentText: commentValue, childCommments: [], isRootNode, parentNodeId, }; };