Skip to content

Commit

Permalink
chore: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
wmai committed Sep 17, 2023
1 parent 986543a commit f7171a6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/visualizations/src/components/MapPoi/Map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ export default class MapPOI {

this.popup.setHTML(getLoadingContent());

getContent(featureId, properties)
.then((content) => {
this.popup.setHTML(content);
});
getContent(featureId, properties).then((content) => {
this.popup.setHTML(content);
});

const classnameModifier = display === 'sidebar' ? 'addClassName' : 'removeClassName';
this.popup[classnameModifier](`${POPUP_OPTIONS.className}--as-sidebar`);
Expand Down

0 comments on commit f7171a6

Please sign in to comment.