Skip to content

Commit

Permalink
dirty fix tinacms useTina hook integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bmstefanski authored Dec 9, 2022
1 parent ebd3b0d commit 42ad276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function SingleArticlePage(props: any) {
if (!data) {
return null;
}
const { title, description, date, tags, imageUrl } = data.post as NonNullableChildrenDeep<Posts>;
const { title, description, date, tags, imageUrl } = data.post as NonNullableChildrenDeep<Post>;
const meta = { title, description, date: date, tags, imageUrl, author: '' };
const formattedDate = formatDate(new Date(date));
const absoluteImageUrl = imageUrl.replace(/\/+/, '/');
Expand Down

0 comments on commit 42ad276

Please sign in to comment.