fix: rename save-sync.ts → save-sync.svelte.ts for $state compat
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 23s
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 23s
Plain .ts files can't read $state proxies from .svelte.ts modules. The s.subscribe error was caused by SvelteKit treating the raw signal as a legacy store. Renaming to .svelte.ts fixes the compilation.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
startAutoSave,
|
startAutoSave,
|
||||||
stopAutoSave,
|
stopAutoSave,
|
||||||
setupVisibilitySync,
|
setupVisibilitySync,
|
||||||
} from '$lib/save-sync';
|
} from '$lib/save-sync.svelte';
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
// Init auth
|
// Init auth
|
||||||
|
|||||||
Reference in New Issue
Block a user