Possibly a non-issue
but i feel the tutorial skips the changing of the following code.. is it important?
glob() version >
const filteredPosts = allPosts.filter((post: any) => post.frontmatter.tags.includes(tag));
into > getCollection() version
const filteredPosts = allPosts.filter((post) => post.data.tags.includes(tag));
i was struggling to make my code work when following the tutorial, and i've noticed this difference that's not explicitly instructed to update, like, usually it would be highlighted in green to say update and red to remove -
i'm trying everything but just thought i'd see if i'm overthinking it or not