aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-23 21:26:36 -0800
committerFuwn <[email protected]>2026-01-23 21:26:36 -0800
commite30cc3795166a372876969fd83b813472043b48b (patch)
treefc672e36c5d64a804963029a9fe8cc413fc4c220 /src/lib/List
parentfix(stores): Use unknown cast for dynamic property access (diff)
downloaddue.moe-e30cc3795166a372876969fd83b813472043b48b.tar.xz
due.moe-e30cc3795166a372876969fd83b813472043b48b.zip
fix: Add null guards and improve error messaging for user lookups
Diffstat (limited to 'src/lib/List')
-rw-r--r--src/lib/List/Manga/MangaListTemplate.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/List/Manga/MangaListTemplate.svelte b/src/lib/List/Manga/MangaListTemplate.svelte
index 3fee9f6a..16665d56 100644
--- a/src/lib/List/Manga/MangaListTemplate.svelte
+++ b/src/lib/List/Manga/MangaListTemplate.svelte
@@ -61,7 +61,7 @@
`last${due ? '' : 'Completed'}MangaListLength`
)) as number | null;
- if (lastStoredList) lastListSize = parseInt(lastStoredList);
+ if (lastStoredList) lastListSize = parseInt(String(lastStoredList));
}
startTime = performance.now();