chore(web): migration svelte 5 syntax (#13883)

This commit is contained in:
Alex 2024-11-14 08:43:25 -06:00 committed by GitHub
parent 9203a61709
commit 0b3742cf13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
310 changed files with 6435 additions and 4176 deletions

View file

@ -7,7 +7,11 @@
import { preferences } from '$lib/stores/user.store';
import { setSupportBadgeVisibility } from '$lib/utils/purchase-utils';
export let onDone: () => void;
interface Props {
onDone: () => void;
}
let { onDone }: Props = $props();
</script>
<div class="m-auto w-3/4 text-center flex flex-col place-content-center place-items-center dark:text-white my-6">
@ -25,6 +29,6 @@
</div>
<div class="mt-6 w-full">
<Button fullwidth on:click={onDone}>{$t('ok')}</Button>
<Button fullwidth onclick={onDone}>{$t('ok')}</Button>
</div>
</div>