From a298f63326cf20c5d810dabad7118111a526b309 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 12 Mar 2024 19:39:48 +0100 Subject: [PATCH] Comment declutter --- client-solid/src/Components/Comment.tsx | 33 ++----------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/client-solid/src/Components/Comment.tsx b/client-solid/src/Components/Comment.tsx index f108b08..106170c 100644 --- a/client-solid/src/Components/Comment.tsx +++ b/client-solid/src/Components/Comment.tsx @@ -1,8 +1,6 @@ import { JSXElement } from "solid-js"; -import { EngagementIcon } from "../Util/Icons"; import { PublicComment } from "../Util/api"; -import { NewCommentInputArea } from "./NewComment"; interface CommentProps { comment: PublicComment; @@ -16,38 +14,11 @@ interface CommentProps { */ export function Comment({ comment }: CommentProps): JSXElement { return ( -
+
-
{comment.created_at}
+
{comment.created_at}
{comment.content}
- -
-
- {/* Placeholder icon, tbd */} - -
-
-
    -
  • -
    {comment.created_at}
    -
    :
    -
    {comment.content}
    -
    -
  • -
  • -
    {comment.created_at}
    -
    :
    -
    {comment.content}
    -
    -
  • -
-
-
-
); }