CoastalCommitsPastes/client/components/my-posts/index.tsx
2022-04-09 17:48:19 -07:00

16 lines
290 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