From 4e5561283392d2ab1545cabb4455a8ffc490f86b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 18 Oct 2019 17:20:27 -0700 Subject: Running prettier on code. - #305 , #309 --- ui/src/components/comment-nodes.tsx | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'ui/src/components/comment-nodes.tsx') diff --git a/ui/src/components/comment-nodes.tsx b/ui/src/components/comment-nodes.tsx index 1e61c2f0..18faf1ac 100644 --- a/ui/src/components/comment-nodes.tsx +++ b/ui/src/components/comment-nodes.tsx @@ -1,9 +1,12 @@ import { Component } from 'inferno'; -import { CommentNode as CommentNodeI, CommunityUser, UserView } from '../interfaces'; +import { + CommentNode as CommentNodeI, + CommunityUser, + UserView, +} from '../interfaces'; import { CommentNode } from './comment-node'; -interface CommentNodesState { -} +interface CommentNodesState {} interface CommentNodesProps { nodes: Array; @@ -16,8 +19,10 @@ interface CommentNodesProps { markable?: boolean; } -export class CommentNodes extends Component { - +export class CommentNodes extends Component< + CommentNodesProps, + CommentNodesState +> { constructor(props: any, context: any) { super(props, context); } @@ -25,20 +30,19 @@ export class CommentNodes extends Component - {this.props.nodes.map(node => - ( + - )} + ))} - ) + ); } - } - -- cgit v1.2.3