mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-15 17:08:21 -04:00
chore(app): clarify session tab debug log
This commit is contained in:
@@ -351,6 +351,7 @@ export const { use: useTabs, provider: TabsProvider } = createSimpleContext({
|
||||
const key = tabKey(tab)
|
||||
const next = { title: session.title, directory: session.location.directory }
|
||||
const current = info[key]
|
||||
console.debug("[tabs] remember session info", { key, sessionID: session.id, current, next })
|
||||
if (current && current.title === next.title && current.directory === next.directory) return
|
||||
setInfo(key, next)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user