Skip to content

Commit

Permalink
Fix 'no-case-declarations' rule
Browse files Browse the repository at this point in the history
  • Loading branch information
lguima committed Feb 28, 2022
1 parent 5949533 commit 962ab62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MapPopups.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class MapPopups {
switch (key) {
case 'website':
case 'email':
case 'facebook':
case 'facebook': {
// Sometimes people will not put the http part of the link on OSM,
// making the browser think the link is a subpage of CicloMapa and
// adding our domain to the beggining of it.
Expand All @@ -164,7 +164,7 @@ class MapPopups {
class="underline" href=${link}>
Link</a>`,
];
}
default:
if (translatedName) {
return [
Expand Down

0 comments on commit 962ab62

Please sign in to comment.