Fix minimal detail

This commit is contained in:
prototypa
2023-01-08 15:05:18 -05:00
parent 99018fc284
commit b21275bc9e
3 changed files with 86 additions and 61 deletions

View File

@@ -9,7 +9,7 @@ export interface Props {
allPostsText?: string;
allPostsLink?: string | URL;
information?: string;
postsIds: string[];
postIds: string[];
}
const {
@@ -17,10 +17,10 @@ const {
allPostsText = 'View all posts',
allPostsLink = getBlogPermalink(),
information = await Astro.slots.render('information'),
postsIds = [],
postIds = [],
} = Astro.props;
const posts = await findPostsByIds(postsIds);
const posts = await findPostsByIds(postIds);
---
<section class="px-4 py-16 mx-auto max-w-6xl lg:py-20">