From 752a7e40126aa0ebb4dd3fedc89233ca80e2ecbb Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Fri, 5 Jun 2026 11:22:33 +0200 Subject: [PATCH] always .map() an array --- src/pages/writing/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/writing/index.astro b/src/pages/writing/index.astro index 3912343..b839e20 100644 --- a/src/pages/writing/index.astro +++ b/src/pages/writing/index.astro @@ -25,7 +25,7 @@ allPosts.forEach(post => { {allPosts.length === 0 &&

No posts as of yet, hop back later!

} { - categorizedPosts.keys().map(category => { + categorizedPosts.keys().toArray().map(category => { const posts = categorizedPosts.get(category) || []; return (