From f37db71f0b994d2a6a0ee1df7ff9691ca5e9dd76 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 6 Jun 2022 20:12:04 +0200 Subject: [PATCH] Fix build --- UI/Popup/EditableTagRendering.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Popup/EditableTagRendering.ts b/UI/Popup/EditableTagRendering.ts index 0075d2651..11901dcb5 100644 --- a/UI/Popup/EditableTagRendering.ts +++ b/UI/Popup/EditableTagRendering.ts @@ -9,8 +9,8 @@ import BaseUIElement from "../BaseUIElement"; import TagRenderingConfig from "../../Models/ThemeConfig/TagRenderingConfig"; import {Unit} from "../../Models/Unit"; import Lazy from "../Base/Lazy"; -import {OsmConnection} from "../../Logic/Osm/OsmConnection"; import {FixedUiElement} from "../Base/FixedUiElement"; +import FeaturePipelineState from "../../Logic/State/FeaturePipelineState"; export default class EditableTagRendering extends Toggle { @@ -49,7 +49,7 @@ export default class EditableTagRendering extends Toggle { ) } - private static CreateRendering(state: { featureSwitchUserbadge?: UIEventSource, osmConnection: OsmConnection }, tags: UIEventSource, configuration: TagRenderingConfig, units: Unit[], editMode: UIEventSource): BaseUIElement { + private static CreateRendering(state: FeaturePipelineState, tags: UIEventSource, configuration: TagRenderingConfig, units: Unit[], editMode: UIEventSource): BaseUIElement { const answer: BaseUIElement = new TagRenderingAnswer(tags, configuration, state) answer.SetClass("w-full") let rendering = answer;