diff --git a/src/features/Posts/pages/PostDetailsPage/Components/AuthorCard/AuthorCard.tsx b/src/features/Posts/pages/PostDetailsPage/Components/AuthorCard/AuthorCard.tsx index cc5ec68..aa91839 100644 --- a/src/features/Posts/pages/PostDetailsPage/Components/AuthorCard/AuthorCard.tsx +++ b/src/features/Posts/pages/PostDetailsPage/Components/AuthorCard/AuthorCard.tsx @@ -1,4 +1,5 @@ import dayjs from "dayjs"; +import { Link } from "react-router-dom"; import Button from "src/Components/Button/Button"; import { Author } from "src/features/Posts/types"; import Avatar from "src/features/Profiles/Components/Avatar/Avatar"; @@ -16,13 +17,19 @@ export default function AuthorCard({ author }: Props) { return (
- + + +

{trimText(author.name, 333)}

Joined on {dayjs(author.join_date).format('MMMM DD, YYYY')}

-