Closed colburncodes closed 5 months ago
The update involves refining the import statements in the blog page component of a project. Specifically, the allPosts
data is now being imported from contentlayer/generated
, while the previously imported Post
has been removed, suggesting a shift in how data is managed or utilized within this component.
File Path | Change Summary |
---|---|
src/pages/blog/[...]/index.page.tsx |
Imported allPosts and removed Post from contentlayer/generated |
🐇💻
In the code garden, fresh imports bloom,
Where once wasPost
, nowallPosts
loom.
Tiny paws on the keyboard dance,
With every change, a new chance.
Hop, skip, jump, the bugs we chase,
In the digital burrow, we set the pace!
src/pages/blog/[slug]/index.page.tsx (1)
`7-7`: Added import for `allPosts` from `contentlayer/generated`. Ensure that the usage of `allPosts` aligns with its intended purpose in the codebase.
Summary by CodeRabbit