wip: desktop work

This commit is contained in:
Adam 2025-10-13 10:19:46 -05:00
parent bb82d43094
commit c04e892991
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
3 changed files with 32 additions and 16 deletions

View file

@ -467,6 +467,11 @@ function init() {
return sync.session.get(store.active)
})
createEffect(() => {
if (!store.active) return
sync.session.sync(store.active)
})
return {
active,
setActive(sessionId: string | undefined) {