migrate: convert most components to svelte 5
This commit is contained in:
1 parent
d670f39f0a
commit
10ef4123da
225 files changed
+5441
-3341
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user