Update components/image-with-basepath.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
十八亩地
2026-01-28 23:32:42 +08:00
committed by dayuan.jiang
parent f2f5ac907d
commit a245dcb150

View File

@@ -1,4 +1,5 @@
import NextImage from "next/image"
import type * as React from "react"
export default function Image(props: React.ComponentProps<typeof NextImage>) {
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || ""