diff --git a/client-solid/src/Components/Comment.tsx b/client-solid/src/Components/Comment.tsx
index 106170c..bdc61c4 100644
--- a/client-solid/src/Components/Comment.tsx
+++ b/client-solid/src/Components/Comment.tsx
@@ -14,11 +14,15 @@ interface CommentProps {
*/
export function Comment({ comment }: CommentProps): JSXElement {
return (
-
-
-
{comment.created_at}
+ <>
+
+
-
{comment.content}
-
+
{comment.content}
+
+
+
Replies to parent comment if any
+
+ >
);
}
diff --git a/client-solid/src/Components/CommentSection.tsx b/client-solid/src/Components/CommentSection.tsx
index f9f9fe4..2baf64a 100644
--- a/client-solid/src/Components/CommentSection.tsx
+++ b/client-solid/src/Components/CommentSection.tsx
@@ -13,6 +13,8 @@ export function CommentSection({ postId }: { postId: string }): JSXElement {
const [comments] = createResource(postId, () => getComments(postId, 10, 0));
return (
-
{(comment) => }
+
);
}
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..e5763f8
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,6 @@
+{
+ "name": "FrostByte",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {}
+}