Fix some storage bugs

This commit is contained in:
Jon Staab
2025-09-30 17:04:52 -07:00
parent a8d1c4bbbc
commit 483fa81b74
3 changed files with 11 additions and 9 deletions
+4 -1
View File
@@ -138,7 +138,10 @@ const syncTracker = async () => {
const updateAll = throttle(3000, () => {
p = p.then(() => {
collectionStorageProvider.set("tracker", Array.from(tracker.relaysById.entries()))
collectionStorageProvider.set(
"tracker",
Array.from(tracker.relaysById.entries()).map(([id, relays]) => [id, Array.from(relays)]),
)
})
})