From bfc8d125c6380fc47f119195cd712129496d3d67 Mon Sep 17 00:00:00 2001 From: Renard Date: Sat, 28 Sep 2019 16:59:46 -0300 Subject: Lista de hilos rediseƱada --- src/ThreadList.js | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'src/ThreadList.js') diff --git a/src/ThreadList.js b/src/ThreadList.js index c5eb990..fe597c3 100644 --- a/src/ThreadList.js +++ b/src/ThreadList.js @@ -1,5 +1,5 @@ import React, { Component } from "react"; -import { Header, Loader, List, Card, Image, Icon } from "semantic-ui-react"; +import { Loader, Icon, Item } from "semantic-ui-react"; import { Link } from "@reach/router"; import Moment from "react-moment"; import "moment/locale/es"; @@ -44,39 +44,38 @@ class ThreadList extends Component { ); return ( - + {threadList.map((thread, index) => { return ( - - {currentBoard.allow_images === 1 ? ( - + {currentBoard.allow_images === 1 && ( + - ) : null} - - + )} + + {thread.subject} - - + + - - + + {thread.message.replace(stripHtml, "").substring(0, 200) + " ..."} - - - - - {thread.total_replies} Respuestas - - + + + + {thread.total_replies} Respuestas + + + ); })} - + ); } } -- cgit v1.2.1-18-gbd029