create-payload-app 3.0.0-canary.4eb1bfc → 3.0.0-canary.51be7be
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,12 @@ import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
|
|
7
7
|
import { importMap } from '../importMap'
|
8
8
|
|
9
9
|
type Args = {
|
10
|
-
params: {
|
10
|
+
params: Promise<{
|
11
11
|
segments: string[]
|
12
|
-
}
|
13
|
-
searchParams: {
|
12
|
+
}>
|
13
|
+
searchParams: Promise<{
|
14
14
|
[key: string]: string | string[]
|
15
|
-
}
|
15
|
+
}>
|
16
16
|
}
|
17
17
|
|
18
18
|
export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
|
@@ -7,12 +7,12 @@ import { RootPage, generatePageMetadata } from '@payloadcms/next/views'
|
|
7
7
|
import { importMap } from '../importMap'
|
8
8
|
|
9
9
|
type Args = {
|
10
|
-
params: {
|
10
|
+
params: Promise<{
|
11
11
|
segments: string[]
|
12
|
-
}
|
13
|
-
searchParams: {
|
12
|
+
}>
|
13
|
+
searchParams: Promise<{
|
14
14
|
[key: string]: string | string[]
|
15
|
-
}
|
15
|
+
}>
|
16
16
|
}
|
17
17
|
|
18
18
|
export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
|