mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-05 02:31:47 +00:00
fix(tui): address follow-up review nits
This commit is contained in:
parent
a0aebad673
commit
2e6c3c7d23
6 changed files with 44 additions and 35 deletions
|
|
@ -235,7 +235,7 @@ export function useVirtualHistory(
|
|||
if (dirty) {
|
||||
setVer(v => v + 1)
|
||||
}
|
||||
}, [end, hasScrollRef, items, n, offsets, scrollRef, start, total, vp])
|
||||
}, [end, hasScrollRef, items, n, offsets, scrollRef, start, sticky, total, vp])
|
||||
|
||||
return {
|
||||
bottomSpacer: Math.max(0, total - (offsets[end] ?? total)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue