CoastalCommitsPastes/client/components/my-posts/index.tsx
2022-03-24 18:03:57 -07:00

13 lines
321 B
TypeScript

import type { Post } from "@lib/types"
import PostList from "../post-list"
const MyPosts = ({ posts, error, morePosts }:
{
posts: Post[],
error: boolean,
morePosts: boolean
}) => {
return <PostList morePosts={morePosts} initialPosts={posts} error={error} />
}
export default MyPosts