diff --git a/packages/fakeyou.com/src/v2/view/_common/comments/CommentList.tsx b/packages/fakeyou.com/src/v2/view/_common/comments/CommentList.tsx index 36e20236f5..5cbd2e6d68 100644 --- a/packages/fakeyou.com/src/v2/view/_common/comments/CommentList.tsx +++ b/packages/fakeyou.com/src/v2/view/_common/comments/CommentList.tsx @@ -29,7 +29,7 @@ function CommentList(props: Props) { let rows: Array = []; - reversedComments.forEach((comment) => { + reversedComments.forEach(comment => { const createTime = new Date(comment.created_at); const relativeCreateTime = formatDistance(createTime, now, { addSuffix: true, @@ -62,7 +62,7 @@ function CommentList(props: Props) {
- +
diff --git a/packages/fakeyou.com/src/v2/view/pages/profile/profile_view/NewProfilePage.tsx b/packages/fakeyou.com/src/v2/view/pages/profile/profile_view/NewProfilePage.tsx index 874110bc97..e960477c8d 100644 --- a/packages/fakeyou.com/src/v2/view/pages/profile/profile_view/NewProfilePage.tsx +++ b/packages/fakeyou.com/src/v2/view/pages/profile/profile_view/NewProfilePage.tsx @@ -37,6 +37,7 @@ import { usePrefixedDocumentTitle } from "../../../../../common/UsePrefixedDocum import { faBookmark, faCalendarAlt, + faComment, faLayerGroup, faPhotoFilmMusic, } from "@fortawesome/pro-solid-svg-icons"; @@ -48,6 +49,7 @@ import Tabs from "components/common/Tabs"; import MediaTab from "./tabs/MediaTab"; import WeightsTab from "./tabs/WeightsTab"; import BookmarksTab from "./tabs/BookmarksTab"; +import { CommentComponent } from "v2/view/_common/comments/CommentComponent"; interface Props { sessionWrapper: SessionWrapper; @@ -375,6 +377,15 @@ function NewProfilePage(this: any, props: Props) { icon: faBookmark, padding: true, }, + { + to: `/profile/${username}/comments`, + label: "Comments", + content: ( + + ), + icon: faComment, + padding: true, + }, ]; return (