fixes to get this to build using 'npm run build'

This commit is contained in:
2026-01-18 21:53:35 -05:00
parent b55bd7041d
commit b1e2b38506
5 changed files with 59 additions and 27 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ import Link from "next/link";
import { useParams, useRouter } from "next/navigation";
import { useAuth } from "@/context/AuthContext";
import { useApi } from "@/lib/api";
import Image from "next/image";
type BuildDto = {
uuid: string;
@@ -556,7 +557,7 @@ export default function VaultBuildEditPage() {
</button>
<img
<Image
src={p.url}
alt="Pending upload"
className="h-32 w-full object-cover"
@@ -573,7 +574,7 @@ export default function VaultBuildEditPage() {
key={p.uuid}
className="overflow-hidden rounded-lg border border-white/10 bg-black/20"
>
<img
<Image
src={p.url}
alt={p.caption ?? "Build photo"}
className="h-32 w-full object-cover"