From ad3e4c700ed24c3921e1179a9c8eb8115305b46e Mon Sep 17 00:00:00 2001 From: Pahan Sarathchandra Date: Mon, 27 May 2024 21:16:31 +0300 Subject: [PATCH] Fix interface name typo --- src/components/app/posts-list/load-more-posts.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }) => {