From 36fc2d78b75c317b8e179e04d16ee266e780f336 Mon Sep 17 00:00:00 2001 From: Duyet Le Date: Thu, 31 Oct 2024 12:47:36 +0700 Subject: [PATCH] fix(blog): fix imports --- apps/blog/app/[year]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/blog/app/[year]/page.tsx b/apps/blog/app/[year]/page.tsx index e70f0c8c..f8435464 100644 --- a/apps/blog/app/[year]/page.tsx +++ b/apps/blog/app/[year]/page.tsx @@ -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 @@ -17,7 +17,7 @@ export default async function YearPage({ params }: YearProps) { return ( <> - +