diff --git a/packages/web/src/components/chat/ImagePreview.tsx b/packages/web/src/components/chat/ImagePreview.tsx index 7133119c..e7356cba 100644 --- a/packages/web/src/components/chat/ImagePreview.tsx +++ b/packages/web/src/components/chat/ImagePreview.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { useUIStore } from '../../stores/uiStore'; +import { saveImage, copyImageToClipboard } from '../../utils/imageActions'; export function ImagePreview() { const imageUrl = useUIStore((s) => s.imagePreviewUrl); @@ -13,14 +14,42 @@ export function ImagePreview() { className="fixed inset-0 z-[200] flex items-center justify-center bg-surface-overlay animate-fade-in cursor-pointer" onClick={closeImagePreview} > - + {/* Toolbar: download, copy, close */} +