Image -> img (#2087)

This commit is contained in:
pablodanswer 2024-08-08 14:46:42 -07:00 committed by GitHub
parent 1d989f5343
commit f28b930475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import { useState } from "react";
import { FullImageModal } from "./FullImageModal";
import { buildImgUrl } from "./utils";
import Image from "next/image";
export function InMessageImage({ fileId }: { fileId: string }) {
const [fullImageShowing, setFullImageShowing] = useState(false);
@ -20,7 +19,7 @@ export function InMessageImage({ fileId }: { fileId: string }) {
<div className="absolute inset-0 bg-gray-200 animate-pulse rounded-lg" />
)}
<Image
<img
width={1200}
height={1200}
alt="Chat Message Image"