fix(neuron): stale mode reference in TUI refresh loop
This commit is contained in:
@@ -230,5 +230,5 @@ async function loadConversations() {
|
||||
await loadConversations()
|
||||
render(state)
|
||||
setInterval(async () => {
|
||||
if (mode === "chat") await refreshTranscript()
|
||||
if (state.mode === "chat") await refreshTranscript()
|
||||
}, 1000)
|
||||
|
||||
Reference in New Issue
Block a user