[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.
This commit is contained in:
Manav Rathi 2024-04-02 17:05:23 +05:30
parent 1800ad0a1f
commit 9cb289e002
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ const L = runningInBrowser()
const LAYER_TILE_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
const LAYER_TILE_ATTRIBUTION =
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';
'&copy; <a target="_blank" rel="noopener" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';
const ZOOM_LEVEL = 16;
const MapBoxContainer = styled("div")`