Adjust post per page

This commit is contained in:
DefectingCat
2022-12-14 11:53:13 +08:00
parent 367ff5bc00
commit 5430ab32d0

View File

@ -36,7 +36,7 @@ export const postLists = async (): Promise<Post[]> => {
/**
* Get posts list page.
*/
export const PostPerPage = 5;
export const PostPerPage = 10;
export type PostPath = { params: { page: string } };
const postPathCallback = (prev: PostPath[], _: unknown, i: number) =>
i + 1 > 2