You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
713 B
TypeScript
25 lines
713 B
TypeScript
7 months ago
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||
|
import type { Metadata } from 'next'
|
||
|
|
||
|
import config from '@payload-config'
|
||
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||
|
import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
|
||
|
import { importMap } from '../importMap'
|
||
|
|
||
|
type Args = {
|
||
|
params: {
|
||
|
segments: string[]
|
||
|
}
|
||
|
searchParams: {
|
||
|
[key: string]: string | string[]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
|
||
|
generatePageMetadata({ config, params, searchParams })
|
||
|
|
||
|
const NotFound = ({ params, searchParams }: Args) =>
|
||
|
NotFoundPage({ config, params, searchParams, importMap })
|
||
|
|
||
|
export default NotFound
|