diff options
| author | Fuwn <[email protected]> | 2026-01-26 22:06:11 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-26 22:06:11 -0800 |
| commit | 875917bef08f67b8737091b205d1e00700756fac (patch) | |
| tree | 67d6741e434da2795bb046d410013437b3944297 /src/lib/Schedule | |
| parent | refactor(lib): Migrate remaining component slots to Svelte 5 syntax (diff) | |
| download | due.moe-post-svelte-5-migration.tar.xz due.moe-post-svelte-5-migration.zip | |
feat: Complete Svelte 5 runes syntax migrationpost-svelte-5-migration
Diffstat (limited to 'src/lib/Schedule')
| -rw-r--r-- | src/lib/Schedule/Crunchyroll.svelte | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Schedule/Crunchyroll.svelte b/src/lib/Schedule/Crunchyroll.svelte index 9d7c8e70..9e687768 100644 --- a/src/lib/Schedule/Crunchyroll.svelte +++ b/src/lib/Schedule/Crunchyroll.svelte @@ -29,8 +29,7 @@ const soon: CrunchyrollMedia<number | string>[] = crunchyroll.filter( (media) => media.day === 'soon' ); - - $: columnCount = Math.ceil(Object.keys(days).length / 2); + let columnCount = $derived(Math.ceil(Object.keys(days).length / 2)); const ordinalSuffix = (i: number) => { const j = i % 10; |