From 42ad276e61377097a95ffd026957b484508d41ec Mon Sep 17 00:00:00 2001 From: Bart Stefanski Date: Fri, 9 Dec 2022 19:10:20 +0100 Subject: [PATCH] dirty fix tinacms useTina hook integration --- pages/blog/[slug].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/blog/[slug].tsx b/pages/blog/[slug].tsx index 55d604fdb..e9e580107 100644 --- a/pages/blog/[slug].tsx +++ b/pages/blog/[slug].tsx @@ -62,7 +62,7 @@ export default function SingleArticlePage(props: any) { if (!data) { return null; } - const { title, description, date, tags, imageUrl } = data.post as NonNullableChildrenDeep; + const { title, description, date, tags, imageUrl } = data.post as NonNullableChildrenDeep; const meta = { title, description, date: date, tags, imageUrl, author: '' }; const formattedDate = formatDate(new Date(date)); const absoluteImageUrl = imageUrl.replace(/\/+/, '/');