Fix runaway link, small issues

This commit is contained in:
Pieter Vander Vennet 2022-03-10 23:59:18 +01:00
parent 7d02ed0af6
commit 65fc2c5de4
2 changed files with 3 additions and 10 deletions

View file

@ -19,7 +19,7 @@ export default class ExtraLinkButton extends UIElement {
featureSwitchWelcomeMessage: UIEventSource<boolean>, locationControl: UIEventSource<Loc>
};
constructor(state: { featureSwitchWelcomeMessage: UIEventSource<boolean>, locationControl: UIEventSource<Loc>, layoutToUse: { id: string, title: Translations } },
constructor(state: { featureSwitchWelcomeMessage: UIEventSource<boolean>, locationControl: UIEventSource<Loc>, layoutToUse: { id: string, title: Translation } },
config: ExtraLinkConfig) {
super();
this.state = state;