fix: build error

This commit is contained in:
Mahyar Khanbolooki
2025-08-21 21:32:46 +03:30
parent f6eda0a032
commit cd89fdf90e
2 changed files with 5 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -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'