migrate: convert most components to svelte 5

This commit is contained in:
Xylight committed 2024-10-25 19:33:27 -07:00
1 parent d670f39f0a
commit 10ef4123da
225 files changed
+5441 -3341

No files matched your search

+6 -2
View File
@@ -16,9 +16,12 @@
} from 'svelte-hero-icons'
import type { ActionName } from './+page.js'
export let action: ActionName
interface Props {
action: ActionName;
}
let { action }: Props = $props();
$: actionData = getAction(action)
const getAction = (
action: ActionName
@@ -151,6 +154,7 @@
class: '',
}
}
let actionData = $derived(getAction(action))
</script>
<span class="font-bold">