diff --git a/UI/BigComponents/UserInformation.ts b/UI/BigComponents/UserInformation.ts index 7800d4142..1e98315ea 100644 --- a/UI/BigComponents/UserInformation.ts +++ b/UI/BigComponents/UserInformation.ts @@ -127,7 +127,7 @@ class UserInformationMainPanel extends Combine { new ImportViewerLinks(osmConnection), new SubtleButton(Svg.logout_svg(), Translations.t.general.logout, { imgSize, - }).onClick(osmConnection.LogOut), + }).onClick(() => {osmConnection.LogOut()}), ]) }) ).SetClass("flex flex-col"),