fix build errors

This commit is contained in:
2025-02-09 14:33:31 -05:00
parent 71e54aebb8
commit 97ee81c303
5 changed files with 13 additions and 8 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import Image from "next/image"
export default async function DataComponent({
url,
header,
@@ -19,7 +21,7 @@ export default async function DataComponent({
<div className="block">
<div className="flex items-center">
{
projectImage && <img alt="Project Image" src={projectImage} width={100} height={100} className="w-[80px] h-[50px] object-cover" />
projectImage && <Image alt="Project Image" src={projectImage} width={100} height={100} className="w-[80px] h-[50px] object-cover" />
}
<div className="flex flex-col mx-2 min-w-0 flex-grow">