type params as promise

This commit is contained in:
2025-05-23 14:57:51 +03:00
parent fa70a96c27
commit 78c2ff356c
2 changed files with 4 additions and 10 deletions

View File

@@ -233,10 +233,6 @@ export interface SearchResponse {
}
export interface SearchPageProps {
params: {
category: string
}
searchParams: {
[key: string]: string | string[] | undefined
}
params: Promise<{ category?: string }>
searchParams?: Promise<{ [key: string]: string | string[] | undefined }>
}