From 0f946c235ccca005ec011c8a7d95a0dee76fa83f Mon Sep 17 00:00:00 2001 From: GoldElysium Date: Thu, 10 Aug 2023 16:53:53 +0200 Subject: [PATCH] fix: add missing text header for description --- public/locales/en/project.json | 1 + src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/public/locales/en/project.json b/public/locales/en/project.json index a3dbb05e..22656716 100644 --- a/public/locales/en/project.json +++ b/public/locales/en/project.json @@ -1,5 +1,6 @@ { "page": { + "description": "Description", "links": "Links", "submissions": "Submissions", "loading": "Loading submissions..." diff --git a/src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx b/src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx index bad5438d..d90cfd25 100644 --- a/src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx +++ b/src/app/[lang]/(DynamicLayout)/projects/[slug]/page.tsx @@ -109,6 +109,9 @@ export default async function ProjectPage({ params: { slug, lang } }: IProps) {
+ + {t('description')} +
{DescriptionSerializer(project.description)}