fix(frontend) fix editor warning

This commit is contained in:
lumither committed 2025-06-03 03:23:32 +08:00
1 parent 45010f030c
commit 1f27e0bddc
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import { fetchPostListPagination } from '@/src/api/blog/post';
async function Blog({ async function Blog({
searchParams searchParams
}: { }: {
searchParams: Promise<{ [key: string]: string | string[] | undefined }> searchParams: Promise<{ [_: string]: string | string[] | undefined }>
}) { }) {
const parsePage = Number((await searchParams)?.page); const parsePage = Number((await searchParams)?.page);