aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/thematique
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/thematique')
-rw-r--r--src/pages/thematique/[slug].tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index 51506e5..74c2212 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -14,7 +14,7 @@ import {
const Thematic: NextPageWithLayout<ThematicProps> = ({ thematic }) => {
const getPostsList = () => {
- return thematic.posts.reverse().map((post) => (
+ return [...thematic.posts].reverse().map((post) => (
<li key={post.id} className={styles.item}>
<PostPreview post={post} titleLevel={3} />
</li>