update: 解决打包报错

style
icefire 2024-10-21 10:29:49 +08:00
parent 33987b0165
commit 078e3745d8
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@next/next/no-img-element": "off" // "error"
}
}

View File

@ -1,7 +1,7 @@
import Link from "next/link"
export default function More(props: {dict: Record<string, string>, lang: string[]}) {
const { dict, lang } = props
const { dict } = props
return <>
<Link href="#contact">