diff --git a/UI/BigComponents/SimpleAddUI.ts b/UI/BigComponents/SimpleAddUI.ts index 1fbe2fe10..d7d8c0533 100644 --- a/UI/BigComponents/SimpleAddUI.ts +++ b/UI/BigComponents/SimpleAddUI.ts @@ -160,7 +160,7 @@ export default class SimpleAddUI extends Toggle { }, { cancelIcon: Svg.back_svg(), - cancelText: Translations.t.general.add.backToSelect + cancelText: Translations.t.general.add.backToSelect, } ) }) diff --git a/UI/NewPoint/ConfirmLocationOfPoint.ts b/UI/NewPoint/ConfirmLocationOfPoint.ts index 0cdf61193..b6614123f 100644 --- a/UI/NewPoint/ConfirmLocationOfPoint.ts +++ b/UI/NewPoint/ConfirmLocationOfPoint.ts @@ -19,7 +19,7 @@ import { GlobalFilter } from "../../Logic/State/MapState" import { VariableUiElement } from "../Base/VariableUIElement" import { Tag } from "../../Logic/Tags/Tag" import { WayId } from "../../Models/OsmFeature" -import {Translation} from "../i18n/Translation"; +import { Translation } from "../i18n/Translation" export default class ConfirmLocationOfPoint extends Combine { constructor( @@ -42,7 +42,7 @@ export default class ConfirmLocationOfPoint extends Combine { cancel: () => void, closePopup: () => void, options?: { - cancelIcon: BaseUIElement, + cancelIcon: BaseUIElement cancelText?: string | Translation } ) {