Skip to content

Commit b5493c4

Browse files
authored
Merge pull request #121 from techulus/develop
Enable changelog page
2 parents b86aef3 + d773092 commit b5493c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/pages/changelog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ export default function Changelog({
8989
}
9090

9191
export const getStaticProps: GetStaticProps = async () => {
92-
// const { posts, hasMore } = await client.getPosts({ limit: POSTS_PER_PAGE });
92+
const { posts, hasMore } = await client.getPosts({ limit: POSTS_PER_PAGE });
9393

9494
return {
9595
props: {
96-
initialPosts: [],
97-
initialHasMore: false,
96+
initialPosts: posts,
97+
initialHasMore: hasMore,
9898
},
9999
revalidate: 86400,
100100
};

0 commit comments

Comments
 (0)