Skip to content

Commit

Permalink
fix(blog): fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
duyet committed Oct 31, 2024
1 parent d1a33ec commit 36fc2d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/blog/app/[year]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import YearList from '@duyet/components/YearList'
import { getPostsByAllYear } from '@duyet/libs/getPost'
import { Year } from '../../components/year-post'
import { YearPost } from '../../components/year-post'

// Dynamic segments not included in generateStaticParams will return a 404.
// https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamicparams
Expand All @@ -17,7 +17,7 @@ export default async function YearPage({ params }: YearProps) {

return (
<>
<Year year={year} />
<YearPost year={year} />

<div className="mt-10">
<YearList />
Expand Down

0 comments on commit 36fc2d7

Please sign in to comment.