From dd258a343021f5af86ed175c6b8a74fc7e0747f2 Mon Sep 17 00:00:00 2001 From: Michael Kinder Date: Mon, 12 Feb 2024 19:25:03 -0500 Subject: [PATCH] Add ShareButtons component to news page --- app/[locale]/news/[slug]/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/[locale]/news/[slug]/page.tsx b/app/[locale]/news/[slug]/page.tsx index c2370d9d..1c777c75 100644 --- a/app/[locale]/news/[slug]/page.tsx +++ b/app/[locale]/news/[slug]/page.tsx @@ -1,4 +1,5 @@ import Date from "@/components/Date"; +import ShareButtons from "@/components/shareButtons/ShareButtons"; import { checkIfSlugIsValid, getPostData } from "@/lib/news"; import { notFound } from "next/navigation"; @@ -55,6 +56,7 @@ export default async function Post({ params }: Props) { className="prose dark:prose-invert prose-headings:font-display prose-a:text-primary prose-pre:bg-muted prose-pre:py-3 prose-pre:px-4 prose-pre:rounded prose-img:rounded-md max-w-none" dangerouslySetInnerHTML={{ __html: postData.contentHtml }} /> + );