2022-11-06 21:07:22 +01:00
|
|
|
import { getPosts } from '@/lib/getPosts';
|
|
|
|
import Posts from './posts';
|
|
|
|
|
|
|
|
export const revalidate = 10;
|
|
|
|
|
|
|
|
export default async function Page() {
|
|
|
|
const posts = await getPosts();
|
|
|
|
|
|
|
|
return (
|
2022-11-06 21:36:43 +01:00
|
|
|
<div className="space-y-6 pt-6">
|
2022-11-06 21:07:22 +01:00
|
|
|
<Posts posts={posts} />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|