From f7171a6e08c9462cfe3daac6476faec84ed349e6 Mon Sep 17 00:00:00 2001 From: William Mai <8331608+wmai@users.noreply.github.com> Date: Sun, 17 Sep 2023 17:50:08 +0200 Subject: [PATCH] chore: Linting --- packages/visualizations/src/components/MapPoi/Map.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/visualizations/src/components/MapPoi/Map.ts b/packages/visualizations/src/components/MapPoi/Map.ts index 2bfeed31..76a3e844 100644 --- a/packages/visualizations/src/components/MapPoi/Map.ts +++ b/packages/visualizations/src/components/MapPoi/Map.ts @@ -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`);