mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
FIX image render
This commit is contained in:
parent
0f87bab5ff
commit
f8357883e6
1 changed files with 2 additions and 1 deletions
|
|
@ -67,8 +67,9 @@ const ImageDialog: React.FC<Props> = ({ galleryOpen, admin, setDialogOpen, setIm
|
||||||
};
|
};
|
||||||
|
|
||||||
const onCopy = (id: string) => {
|
const onCopy = (id: string) => {
|
||||||
|
const escLink = 'http://localhost:4400/api/image/get/'+id;
|
||||||
setCopiedId(id);
|
setCopiedId(id);
|
||||||
setImageLinks(prevLinks => [...prevLinks, id]);
|
setImageLinks(prevLinks => [...prevLinks, escLink]);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleNextPage = () => {
|
const handleNextPage = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue