From abf6e96383035f99addab804e8c3dd1a74d36375 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 17 Dec 2021 17:58:03 +0100 Subject: chore: display comments list on posts --- src/pages/article/[slug].tsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pages/article') diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index 7ad3692..b3ab2ed 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -1,4 +1,6 @@ +import CommentsList from '@components/CommentsList/CommentsList'; import Layout from '@components/Layouts/Layout'; +import { t } from '@lingui/macro'; import { fetchAllPostsSlug } from '@services/graphql/blog'; import { getPostBySlug } from '@services/graphql/post'; import { NextPageWithLayout } from '@ts/types/app'; @@ -16,6 +18,10 @@ const SingleArticle: NextPageWithLayout = ({ post }) => {
+
+

{t`Comments`}

+ +
); }; -- cgit v1.2.3