diff --git a/src/components/app/posts-list/load-more-posts.tsx b/src/components/app/posts-list/load-more-posts.tsx index 4995dfc..1727b08 100644 --- a/src/components/app/posts-list/load-more-posts.tsx +++ b/src/components/app/posts-list/load-more-posts.tsx @@ -6,12 +6,12 @@ import { POST_LIST_PAGE_SIZE } from "@/lib/constants"; import { type BlogPost } from "@/lib/definitions"; import { PostsList } from "./posts-list"; -interface LoadMorePostsPops { +interface LoadMorePostsProps { posts: BlogPost[]; loadMoreAction: (offset: number) => Promise; } -export const LoadMorePosts: React.FC = ({ +export const LoadMorePosts: React.FC = ({ posts: initialPosts, loadMoreAction, }) => {