diff --git a/client-solid/src/Components/Menu.tsx b/client-solid/src/Components/Menu.tsx index 36e4b67..79e04f6 100644 --- a/client-solid/src/Components/Menu.tsx +++ b/client-solid/src/Components/Menu.tsx @@ -28,7 +28,6 @@ export function Menu(): JSXElement { - {/*Filter component for popular */} diff --git a/client-solid/src/Components/Posts.tsx b/client-solid/src/Components/Posts.tsx index a1a1f84..b082ca6 100644 --- a/client-solid/src/Components/Posts.tsx +++ b/client-solid/src/Components/Posts.tsx @@ -23,28 +23,24 @@ export function Posts(): JSXElement { } // This is the card container for a post -export function PostSegment({ post } : { post: Post }): JSXElement { +export function PostSegment(props: { post: Post }): JSXElement { const nav = useNavigate(); - return (
-

- {post.createdAt ?? "No Creation Date"} -

- {post.content} + {props.post?.content}