mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
fix(frontend) fix editor warning
This commit is contained in:
1 file changed
+1
-1
@@ -6,7 +6,7 @@ import { fetchPostListPagination } from '@/src/api/blog/post';
|
||||
async function Blog({
|
||||
searchParams
|
||||
}: {
|
||||
searchParams: Promise<{ [key: string]: string | string[] | undefined }>
|
||||
searchParams: Promise<{ [_: string]: string | string[] | undefined }>
|
||||
}) {
|
||||
|
||||
const parsePage = Number((await searchParams)?.page);
|
||||
|
||||
Reference in new issue
Block a user