fix: correctly fetch articles/series
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user