mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-03 02:11:48 +00:00
chore(tui): drop unreachable return + prettier pass
- createGatewayEventHandler: remove dead `return` after a block that always returns (tool.complete case). The inner block exits via both branches so the outer statement was never reachable. Was pre-existing on main; fixed here because it was the only thing blocking `npm run fix` on this branch. - agentsOverlay + ops: prettier reformatting. `npm run fix` / `npm run type-check` / `npm test` all clean.
This commit is contained in:
parent
06ebe34b40
commit
f06adcc1ae
3 changed files with 33 additions and 49 deletions
|
|
@ -206,7 +206,6 @@ function GanttStrip({
|
|||
now: number
|
||||
t: Theme
|
||||
}) {
|
||||
|
||||
const spans = flatNodes
|
||||
.map((node, idx) => {
|
||||
const started = node.item.startedAt ?? now
|
||||
|
|
@ -273,7 +272,6 @@ function GanttStrip({
|
|||
</Text>
|
||||
|
||||
{shown.map(({ endAt, idx, node, startAt }) => {
|
||||
|
||||
const active = idx === cursor
|
||||
const { color } = statusGlyph(node.item, t)
|
||||
const accent = active ? t.color.amber : t.color.dim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue