chore: moves view related types to payload core

This commit is contained in:
Jacob Fletcher
2024-03-04 11:14:28 -05:00
parent 2c3da88b44
commit f54d96d916
67 changed files with 315 additions and 350 deletions

View File

@@ -1,12 +1,10 @@
import type { Metadata } from 'next'
import type { SanitizedConfig } from 'payload/types'
import type { InitPageResult, SanitizedConfig } from 'payload/types'
import { Logo } from '@payloadcms/ui'
import { redirect } from 'next/navigation'
import React from 'react'
import type { InitPageResult } from '../../utilities/initPage'
import { getNextI18n } from '../../utilities/getNextI18n'
import { meta } from '../../utilities/meta'
import './index.scss'
@@ -37,6 +35,7 @@ type Props = {
params: { [key: string]: string | string[] }
searchParams: { [key: string]: string | string[] }
}
export const Verify: React.FC<Props> = async ({ page, params }) => {
// /:collectionSlug/verify/:token
// eslint-disable-next-line @typescript-eslint/no-unused-vars