fix: build error
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -5,7 +5,8 @@ import type { Metadata, Viewport } from 'next'
|
|||||||
export async function generateMetadata ({
|
export async function generateMetadata ({
|
||||||
params
|
params
|
||||||
}: {
|
}: {
|
||||||
params: { name: string }
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
params: any
|
||||||
}): Promise<Metadata> {
|
}): Promise<Metadata> {
|
||||||
const { name } = await params
|
const { name } = await params
|
||||||
return {
|
return {
|
||||||
@@ -16,7 +17,8 @@ export async function generateMetadata ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function generateViewport ({}: {
|
export async function generateViewport ({}: {
|
||||||
params: { name: string }
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
params: any
|
||||||
}): Promise<Viewport> {
|
}): Promise<Viewport> {
|
||||||
return {
|
return {
|
||||||
themeColor: '#F4F5F9'
|
themeColor: '#F4F5F9'
|
||||||
|
|||||||
Reference in New Issue
Block a user