import { formatDate } from "~/lib/date" import { getUserContentsUrl } from "~/lib/user-contents" import { Avatar } from "../ui/Avatar" type Author = { id: string name: string avatar: string | null } export const PostAuthors: React.FC<{ authors: Author[] }> = ({ authors }) => { return (