mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
290 B
TypeScript
17 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
|