type params as promise
This commit is contained in:
@@ -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 }>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user