fix: show latest discover posters

This commit is contained in:
ShukeBta
2026-06-24 20:17:38 +08:00
parent e5b5ecce93
commit a7c8d46589
7 changed files with 103 additions and 12 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import {
defaultSections,
discoverStorageKey,
readSavedSections,
serializeSavedSections,
} from './discoverPageModel'
export function DiscoverPage() {
@@ -74,7 +75,7 @@ export function DiscoverPage() {
}
return next
})
window.localStorage.setItem(discoverStorageKey, JSON.stringify(selected))
window.localStorage.setItem(discoverStorageKey, serializeSavedSections(selected))
let pending = selected.length
const markDone = () => {