diff options
| author | Fuwn <[email protected]> | 2025-06-12 00:54:50 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-12 00:54:50 -0700 |
| commit | 3e9d826755d9d2b7793daa67314999a89ad0787e (patch) | |
| tree | 4757a943d3ba8d2b606333267944115c0eed5149 /src/lib/List/Manga/CleanMangaList.svelte | |
| parent | style: Reformat using latest formatting (diff) | |
| download | due.moe-3e9d826755d9d2b7793daa67314999a89ad0787e.tar.xz due.moe-3e9d826755d9d2b7793daa67314999a89ad0787e.zip | |
refactor(stateBin): Simplify interface
Diffstat (limited to 'src/lib/List/Manga/CleanMangaList.svelte')
| -rw-r--r-- | src/lib/List/Manga/CleanMangaList.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index d5750e5a..f49d3266 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -50,11 +50,11 @@ ); const filterKind = due ? 'due' : 'completed'; const filterKey = `${filterKind}MangaListFilter`; - let selectedList = stateBin.get()[filterKey] || 'All'; + let selectedList = $stateBin[filterKey] || 'All'; onMount(() => { if (browser) { - const storedValue = stateBin.get()[filterKey]; + const storedValue = $stateBin[filterKey]; if (typeof storedValue === 'string') selectedList = storedValue; } |