diff --git a/components/ChatInput.tsx b/components/ChatInput.tsx index 1f91913cb..199e2e0e1 100644 --- a/components/ChatInput.tsx +++ b/components/ChatInput.tsx @@ -23,6 +23,7 @@ import { type AtQueryMatch, type FileIndexEntry, } from "@/lib/file-fuzzy"; import { FolderIcon, getFileIcon } from "./FileIcons"; +import { ImagePreview } from "./ImagePreview"; import { useIsMobile } from "@/hooks/useIsMobile"; import { useI18n } from "@/hooks/useI18n"; import { useChatAppearance } from "@/hooks/useChatAppearance"; @@ -1620,13 +1621,16 @@ export const ChatInput = forwardRef(function ChatInput({
{attachedImages.map((img, i) => (
- {/* eslint-disable-next-line @next/next/no-img-element */} - + + {/* eslint-disable-next-line @next/next/no-img-element */} + +