From 4e5561283392d2ab1545cabb4455a8ffc490f86b Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
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<CommentNodeI>;
@@ -16,8 +19,10 @@ interface CommentNodesProps {
   markable?: boolean;
 }
 
-export class CommentNodes extends Component<CommentNodesProps, CommentNodesState> {
-
+export class CommentNodes extends Component<
+  CommentNodesProps,
+  CommentNodesState
+> {
   constructor(props: any, context: any) {
     super(props, context);
   }
@@ -25,20 +30,19 @@ export class CommentNodes extends Component<CommentNodesProps, CommentNodesState
   render() {
     return (
       <div className="comments">
-        {this.props.nodes.map(node =>
-          <CommentNode node={node} 
-            noIndent={this.props.noIndent} 
-            viewOnly={this.props.viewOnly} 
-            locked={this.props.locked} 
+        {this.props.nodes.map(node => (
+          <CommentNode
+            node={node}
+            noIndent={this.props.noIndent}
+            viewOnly={this.props.viewOnly}
+            locked={this.props.locked}
             moderators={this.props.moderators}
             admins={this.props.admins}
             postCreatorId={this.props.postCreatorId}
             markable={this.props.markable}
           />
-        )}
+        ))}
       </div>
-    )
+    );
   }
-
 }
-
-- 
cgit v1.2.3

