From 9cb289e0020bbb97bec660f217b780ae1422c29e Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 2 Apr 2024 17:05:23 +0530 Subject: [PATCH] [desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info Open the link in a new tab. This prevents the desktop app from getting into a state where the user cannot navigate back. --- web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx index ab732d8b4f..d7e3b9e912 100644 --- a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx +++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx @@ -13,7 +13,7 @@ const L = runningInBrowser() const LAYER_TILE_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"; const LAYER_TILE_ATTRIBUTION = - '© OpenStreetMap contributors'; + '© OpenStreetMap contributors'; const ZOOM_LEVEL = 16; const MapBoxContainer = styled("div")`