aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PostPreview
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/PostPreview')
-rw-r--r--src/components/PostPreview/PostPreview.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/PostPreview/PostPreview.tsx b/src/components/PostPreview/PostPreview.tsx
index 95aca97..f5c6d9b 100644
--- a/src/components/PostPreview/PostPreview.tsx
+++ b/src/components/PostPreview/PostPreview.tsx
@@ -38,7 +38,7 @@ const PostPreview = ({
</header>
<div
className={styles.body}
- dangerouslySetInnerHTML={{ __html: post.content }}
+ dangerouslySetInnerHTML={{ __html: post.intro }}
></div>
<footer className={styles.footer}>
<Link href={`/article/${post.slug}`}>
@@ -54,8 +54,8 @@ const PostPreview = ({
</footer>
<PostMeta
commentCount={post.commentCount}
- publicationDate={post.date.publication}
- updateDate={post.date.update}
+ publicationDate={post.dates.publication}
+ updateDate={post.dates.update}
thematics={post.thematics}
/>
</article>