diff --git a/client-solid/package.json b/client-solid/package.json index 256b3c9..3e57bf6 100644 --- a/client-solid/package.json +++ b/client-solid/package.json @@ -36,4 +36,4 @@ "vite-plugin-qrcode": "^0.2.3", "vite-plugin-solid": "^2.8.0" } -} \ No newline at end of file +} 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 ( -