mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
fix(desktop): reactivity issue on route change
This commit is contained in:
parent
7283bfa480
commit
3a9c2152f7
4 changed files with 10 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ export const { use: useSession, provider: SessionProvider } = createSimpleContex
|
|||
const params = useParams()
|
||||
const sync = useSync()
|
||||
const name = createMemo(
|
||||
() => `${base64Encode(sync.data.project.worktree)}/session${params.id ? "/" + params.id : ""}`,
|
||||
() => `___${base64Encode(sync.data.project.worktree)}/session${params.id ? "/" + params.id : ""}`,
|
||||
)
|
||||
|
||||
const [store, setStore] = makePersisted(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue