Refactoring: remove slot name; fix logout button

This commit is contained in:
Pieter Vander Vennet 2023-12-04 16:09:30 +01:00
parent 2156c42390
commit baf858bc21
5 changed files with 15 additions and 3 deletions

View file

@ -11,7 +11,7 @@
<button class={clss} on:click={() => osmConnection.AttemptLogin()}>
<ToSvelte construct={Svg.login_svg().SetClass("w-12 m-1")} />
<slot name="message">
<slot>
<Tr t={Translations.t.general.loginWithOpenStreetMap} />
</slot>
</button>