fix: reactive mutable page.ts data now is $state

This commit is contained in:
James Xylight committed 2024-12-28 12:30:24 -08:00
1 parent f390e6b844
commit f6214b6640
4 files changed
+29 -19

No files matched your search

+3
View File
@@ -65,6 +65,8 @@
</script>
<script lang="ts">
import type { HTMLButtonAttributes } from 'svelte/elements'
import Spinner from '../loader/Spinner.svelte'
type ButtonRoundness = 'pill' | 'xl' | 'lg' | 'md' | 'none'
@@ -129,6 +131,7 @@
prefix?: import('svelte').Snippet
children?: import('svelte').Snippet
suffix?: import('svelte').Snippet
onclick?: HTMLButtonAttributes['onclick']
[key: string]: any
}