Skip to content

Commit

Permalink
Update url for Rapid (#689)
Browse files Browse the repository at this point in the history
* Update url for Rapid

* Update spelling of Rapid

---------

Co-authored-by: Wille Marcel <[email protected]>
  • Loading branch information
arch0345 and willemarcel authored Nov 16, 2023
1 parent e32c281 commit efed24b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/changeset/open_in.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function openEditor(selected) {
if (selected && selected[0].value === 'iD') {
baseUrl = 'https://www.openstreetmap.org/edit?editor=id&';
}
if (selected && selected[0].value === 'RapiD') {
baseUrl = 'https://mapwith.ai/rapid?';
if (selected && selected[0].value === 'Rapid') {
baseUrl = 'https://rapideditor.org/edit?';
}
if (baseUrl) {
const center = map.getCenter();
Expand Down Expand Up @@ -52,8 +52,8 @@ export function OpenIn({ display, changesetId, coordinates, className }) {
href: `https://revert.monicz.dev/?changesets=${changesetId}`
},
{
label: 'RapiD',
value: 'RapiD'
label: 'Rapid',
value: 'Rapid'
}
];
if (mobile) {
Expand Down

0 comments on commit efed24b

Please sign in to comment.