fix: correctly fetch articles/series

This commit is contained in:
Max Richter
2025-10-28 20:30:25 +01:00
parent f680b5f832
commit 283a00be39
4 changed files with 10 additions and 610 deletions

View File

@@ -27,7 +27,7 @@ export default function Greet(
) {
const { article, session } = props.data;
const { author = "", date = "", articleBody = "" } = article?.content || {};
const { author = "", date = "", articleBody = "" } = (article?.content || {});
const content = renderMarkdown(
removeImage(articleBody, article.content.image),