We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b86aef3 + d773092 commit b5493c4Copy full SHA for b5493c4
1 file changed
apps/web/pages/changelog.tsx
@@ -89,12 +89,12 @@ export default function Changelog({
89
}
90
91
export const getStaticProps: GetStaticProps = async () => {
92
- // const { posts, hasMore } = await client.getPosts({ limit: POSTS_PER_PAGE });
+ const { posts, hasMore } = await client.getPosts({ limit: POSTS_PER_PAGE });
93
94
return {
95
props: {
96
- initialPosts: [],
97
- initialHasMore: false,
+ initialPosts: posts,
+ initialHasMore: hasMore,
98
},
99
revalidate: 86400,
100
};
0 commit comments