fixes to get this to build using 'npm run build'
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user