diff --git a/web/components/image-input.tsx b/web/components/image-input.tsx index 6b736ed..11f6be7 100644 --- a/web/components/image-input.tsx +++ b/web/components/image-input.tsx @@ -1,6 +1,7 @@ "use client" import { useRef, useState } from "react" +import Image from "next/image" import { UploadIcon, XIcon } from "lucide-react" import { toast } from "sonner" @@ -111,14 +112,21 @@ export function ImageInput({ > {value ? ( <> - {t("upload.uploadedImage")} + {t("upload.uploadedImage")}
- {t("upload.replaceImage")} + {t("upload.replaceImage")}
) : (
- + {uploading ? t("upload.uploading") : resolvedPlaceholder}
)} @@ -132,7 +140,7 @@ export function ImageInput({