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 ({
|
||||
params
|
||||
}: {
|
||||
params: { name: string }
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
params: any
|
||||
}): Promise<Metadata> {
|
||||
const { name } = await params
|
||||
return {
|
||||
@@ -16,7 +17,8 @@ export async function generateMetadata ({
|
||||
}
|
||||
|
||||
export async function generateViewport ({}: {
|
||||
params: { name: string }
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
params: any
|
||||
}): Promise<Viewport> {
|
||||
return {
|
||||
themeColor: '#F4F5F9'
|
||||
|
||||
Reference in New Issue
Block a user