chore: fix small typing issues, formatting

This commit is contained in:
Pieter Vander Vennet 2023-03-08 18:37:32 +01:00
parent 54729b3c33
commit 6fa75505de
3 changed files with 1 additions and 3 deletions

View file

@ -41,7 +41,6 @@ export class ActionButtons extends Combine {
readonly currentBounds: Store<BBox> readonly currentBounds: Store<BBox>
readonly locationControl: Store<Loc> readonly locationControl: Store<Loc>
readonly osmConnection: OsmConnection readonly osmConnection: OsmConnection
readonly isTranslator: Store<boolean>
readonly featureSwitchMoreQuests: Store<boolean> readonly featureSwitchMoreQuests: Store<boolean>
}) { }) {
const imgSize = "h-6 w-6" const imgSize = "h-6 w-6"

View file

@ -24,7 +24,6 @@ export default class ThemeIntroductionPanel extends Combine {
osmConnection: OsmConnection osmConnection: OsmConnection
currentBounds: Store<BBox> currentBounds: Store<BBox>
locationControl: UIEventSource<Loc> locationControl: UIEventSource<Loc>
isTranslator: Store<boolean>
}, },
guistate?: { userInfoIsOpened: UIEventSource<boolean> } guistate?: { userInfoIsOpened: UIEventSource<boolean> }
) { ) {

View file

@ -74,7 +74,7 @@ class SingleUserSettingsPanel extends EditableTagRendering {
if (kv.k.startsWith("_")) { if (kv.k.startsWith("_")) {
continue continue
} }
osmConnection.GetPreference(kv.k, "", {prefix: ""}).setData(kv.v) osmConnection.GetPreference(kv.k, "", { prefix: "" }).setData(kv.v)
} }
editMode.setData(false) editMode.setData(false)