Updated to Svelte 5

This commit is contained in:
Mawoka
2025-09-21 12:42:04 +02:00
parent fa533257b3
commit a88cf13f82
137 changed files with 2279 additions and 1948 deletions
@@ -9,7 +9,11 @@ SPDX-License-Identifier: MPL-2.0
import { getLocalization } from '$lib/i18n';
import BrownButton from '$lib/components/buttons/brown.svelte';
export let data: Abcd | undefined;
interface Props {
data: Abcd | undefined;
}
let { data = $bindable() }: Props = $props();
if (!data) {
data = {
@@ -39,7 +43,7 @@ SPDX-License-Identifier: MPL-2.0
/>
<button
type="button"
on:click={() => {
onclick={() => {
answer.correct = !answer.correct;
}}
>