mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-10 21:26:01 +02:00
Image -> img (#2087)
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { FullImageModal } from "./FullImageModal";
|
import { FullImageModal } from "./FullImageModal";
|
||||||
import { buildImgUrl } from "./utils";
|
import { buildImgUrl } from "./utils";
|
||||||
import Image from "next/image";
|
|
||||||
|
|
||||||
export function InMessageImage({ fileId }: { fileId: string }) {
|
export function InMessageImage({ fileId }: { fileId: string }) {
|
||||||
const [fullImageShowing, setFullImageShowing] = useState(false);
|
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" />
|
<div className="absolute inset-0 bg-gray-200 animate-pulse rounded-lg" />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Image
|
<img
|
||||||
width={1200}
|
width={1200}
|
||||||
height={1200}
|
height={1200}
|
||||||
alt="Chat Message Image"
|
alt="Chat Message Image"
|
||||||
|
Reference in New Issue
Block a user