CoastalCommitsPastes/client/components/my-posts/index.tsx

14 lines
321 B
TypeScript
Raw Normal View History

2022-03-24 21:03:57 -04:00
import type { Post } from "@lib/types"
2022-03-06 19:46:59 -05:00
import PostList from "../post-list"
2022-03-24 21:03:57 -04:00
const MyPosts = ({ posts, error, morePosts }:
{
posts: Post[],
error: boolean,
morePosts: boolean
}) => {
return <PostList morePosts={morePosts} initialPosts={posts} error={error} />
2022-03-06 19:46:59 -05:00
}
export default MyPosts