diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 07afaea3b..51b051617 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -64,6 +64,7 @@ interface CommentNodeState { interface CommentNodeProps { node: CommentNodeI; + noBorder?: boolean; noIndent?: boolean; viewOnly?: boolean; locked?: boolean; @@ -136,9 +137,9 @@ export class CommentNode extends Component { >
; admins?: Array; postCreatorId?: number; + noBorder?: boolean; noIndent?: boolean; viewOnly?: boolean; locked?: boolean; @@ -42,6 +43,7 @@ export class CommentNodes extends Component< { return (
{combined.map(i => ( -
- {i.type === 'posts' ? ( - - ) : ( - - )} -
+ <> +
+ {i.type === 'posts' ? ( + + ) : ( + + )} +
+
+ ))}
); @@ -177,6 +182,7 @@ export class UserDetails extends Component { nodes={commentsToFlatNodes(this.state.comments)} admins={this.props.admins} noIndent + showCommunity showContext enableDownvotes={this.props.enableDownvotes} /> @@ -188,13 +194,16 @@ export class UserDetails extends Component { return (
{this.state.posts.map(post => ( - + <> + +
+ ))}
);