Skip to content

Commit

Permalink
Fix map bug
Browse files Browse the repository at this point in the history
  • Loading branch information
basham committed Oct 14, 2024
1 parent 10d3ab9 commit 716b377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Notes.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const postsByYear = groupBy(posts, (post) => post.data.pubDate.getFullYear());
---

{
postsByYear.entries().map(([year, posts]) => (
[...postsByYear.entries()].map(([year, posts]) => (
<h2>{year}</h2>
<ul class="condensed list-plain">
{
Expand Down

0 comments on commit 716b377

Please sign in to comment.