diff --git a/src/templates/Pages/Home.tsx b/src/templates/Pages/Home.tsx index 166427d..e7b9e70 100644 --- a/src/templates/Pages/Home.tsx +++ b/src/templates/Pages/Home.tsx @@ -1,5 +1,5 @@ import { PostList } from '@blog/templates/components/PostList'; -import { PostMeta } from '@blog/model/PostMeta'; +import { PostMeta } from '@blog/models/PostMeta'; export function Home({ posts }: { posts: PostMeta[] }) { return ( diff --git a/src/templates/Pages/PostPage.tsx b/src/templates/Pages/PostPage.tsx index 158f03b..929170f 100644 --- a/src/templates/Pages/PostPage.tsx +++ b/src/templates/Pages/PostPage.tsx @@ -1,4 +1,4 @@ -import { Post } from "@blog/model/Post"; +import { Post } from "@blog/models/Post"; export function PostPage({ post }: { post: Post }) { const html = { __html: post.html ?? '' }; diff --git a/src/templates/components/PostList.tsx b/src/templates/components/PostList.tsx index 0c35933..dbed18f 100644 --- a/src/templates/components/PostList.tsx +++ b/src/templates/components/PostList.tsx @@ -1,4 +1,4 @@ -import type { PostMeta } from '@blog/model/PostMeta'; +import type { PostMeta } from '@blog/models/PostMeta'; export function PostList({ posts }: { posts: PostMeta[] }) { return(