diff --git a/src/app/components/post-list/list-item.tsx b/src/app/components/post-list/list-item.tsx index 6d7847e2..c67a7f06 100644 --- a/src/app/components/post-list/list-item.tsx +++ b/src/app/components/post-list/list-item.tsx @@ -66,91 +66,89 @@ const ListItem = ({ } return ( - -
  • - - <> -
    - -

    - - {post.title} - -

    -
    - - - {post.files?.length === 1 - ? "1 file" - : `${post.files?.length || 0} files`} - - - -
    -
    - {!hideActions ? ( - - {post.parentId && ( - -
    + )} + + ) : null} + - {post.description && ( -

    {post.description}

    - )} - -
      - {post?.files?.map( - (file: Pick["files"][0]) => { - return ( -
    • - - {getIconFromFilename(file.title)} - {file.title || "Untitled file"} - -
    • - ) - } - )} -
    -
    -
  • + {post.description && ( +

    {post.description}

    + )} + + +
    ) }