diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 155efe8e0..839a01dcc 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -73,6 +73,7 @@ interface CommentNodeProps { showCommunity?: boolean; sort?: CommentSortType; sortType?: SortType; + enableDownvotes: boolean; } export class CommentNode extends Component { @@ -279,7 +280,7 @@ export class CommentNode extends Component { {this.state.upvotes} )} - {WebSocketService.Instance.site.enable_downvotes && ( + {this.props.enableDownvotes && (