diff --git a/client-solid/src/Components/Comment.tsx b/client-solid/src/Components/Comment.tsx index 802d2ef..f108b08 100644 --- a/client-solid/src/Components/Comment.tsx +++ b/client-solid/src/Components/Comment.tsx @@ -1,8 +1,12 @@ import { JSXElement } from "solid-js"; -import { ReplyIcon } from "../Util/Icons"; import { EngagementIcon } from "../Util/Icons"; import { PublicComment } from "../Util/api"; +import { NewCommentInputArea } from "./NewComment"; + +interface CommentProps { + comment: PublicComment; +} /** * Comment is a component that displays a single comment. @@ -10,9 +14,9 @@ import { PublicComment } from "../Util/api"; * @param {string} props.postId The id of the post that the comment is a reply to. * @returns {JSXElement} A JSXElement of a comment */ -export function Comment({ comment }: { comment: PublicComment }): JSXElement { +export function Comment({ comment }: CommentProps): JSXElement { return ( -