From 04eb1ecac5e6c817a45f23a3f7d55d48c40f0d0f Mon Sep 17 00:00:00 2001
From: Renard
Date: Thu, 12 Sep 2019 16:27:15 -0300
Subject: Board.js replies format
---
src/Board.js | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
(limited to 'src/Board.js')
diff --git a/src/Board.js b/src/Board.js
index 5a4e620..beb8a74 100644
--- a/src/Board.js
+++ b/src/Board.js
@@ -3,6 +3,7 @@ import { Loader, Message, Segment, Header, Icon, Image } from "semantic-ui-react
import { Link } from "@reach/router";
import Moment from "react-moment";
import "moment/locale/es";
+import Post from "./Post";
class Board extends Component {
constructor() {
super();
@@ -78,15 +79,13 @@ class Board extends Component {
- {thread.replies.map(reply =>
-
- {reply.file != "" ? : null}
-
-
- Responder
- Reportar
-
-
+ {thread.replies.map((reply, index, replies) =>
+
+ #{thread.total_replies - replies.length + index + 1} {reply.name}
+
+
+
+
)}
--
cgit v1.2.1-18-gbd029