diff --git a/client/src/components/ImageGallery/ImageGallery.tsx b/client/src/components/ImageGallery/ImageGallery.tsx index be4a67a..6b4301b 100644 --- a/client/src/components/ImageGallery/ImageGallery.tsx +++ b/client/src/components/ImageGallery/ImageGallery.tsx @@ -67,8 +67,9 @@ const ImageDialog: React.FC = ({ galleryOpen, admin, setDialogOpen, setIm }; const onCopy = (id: string) => { + const escLink = 'http://localhost:4400/api/image/get/'+id; setCopiedId(id); - setImageLinks(prevLinks => [...prevLinks, id]); + setImageLinks(prevLinks => [...prevLinks, escLink]); }; const handleNextPage = () => {