This commit is contained in:
DefectingCat
2023-04-27 11:38:12 +08:00
parent 7854e8de05
commit 4eddc7cd7b
4 changed files with 14 additions and 13 deletions

View File

@ -1,9 +1,9 @@
import PostCard from 'app/blog/post-card';
import PostCardLoading from 'app/blog/post-card-loading';
import { PostPerPage, postLists } from 'lib/posts';
import { Fragment, Suspense } from 'react';
import Pagination from 'components/rua/rua-pagination';
import { postLists, PostPerPage } from 'lib/posts';
import { notFound } from 'next/navigation';
import { Fragment, Suspense } from 'react';
export default async function Page({ params }: { params: { page: string } }) {
const page = Number(params.page);
@ -36,4 +36,4 @@ export default async function Page({ params }: { params: { page: string } }) {
/>
</>
);
}
}