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