Skip to content

Commit 49b2595

Browse files
committed
final fix for map
1 parent 838fefe commit 49b2595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/Components/Shared/PhotoMap.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function PhotoMap(
7272
let ic = new Icon({ iconUrl: `${baseURL}/media/thumb_${photo.id}`, iconSize: [iconSize, iconSize] }) as any;
7373
ic._createImg = () => {
7474
const output = document.createElement("div");
75-
const res = <img style={{ height: "inherit", width: "inherit", borderRadius: "50%", objectFit: "cover", borderStyle: "outset" }} src={`{baseURL}/media/thumb_${photo.id}`} />;
75+
const res = <img style={{ height: "inherit", width: "inherit", borderRadius: "50%", objectFit: "cover", borderStyle: "outset" }} src={`${baseURL}/media/thumb_${photo.id}`} />;
7676
output.innerHTML = `${renderToStaticMarkup(res)}`;
7777
return output;
7878
};

0 commit comments

Comments
 (0)