mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 19:38:19 +02:00
Image -> img (#2087)
This commit is contained in:
parent
1d989f5343
commit
f28b930475
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user