From c04e8929911be2433063e9a53cccf8d2dfd232b8 Mon Sep 17 00:00:00 2001
From: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Mon, 13 Oct 2025 10:19:46 -0500
Subject: wip: desktop work

---
 packages/desktop/src/context/local.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'packages/desktop/src/context/local.tsx')

diff --git a/packages/desktop/src/context/local.tsx b/packages/desktop/src/context/local.tsx
index b04c70f0f..276f87192 100644
--- a/packages/desktop/src/context/local.tsx
+++ b/packages/desktop/src/context/local.tsx
@@ -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) {
-- 
cgit v1.2.3

