From bb1df9b58b58c0105a340f4679b63ffb9bb8b181 Mon Sep 17 00:00:00 2001 From: dirtydishes Date: Thu, 7 May 2026 02:18:11 -0400 Subject: [PATCH] Clean up terminal hydration promise-chain formatting --- apps/web/app/terminal.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/web/app/terminal.tsx b/apps/web/app/terminal.tsx index 444a02d..58a0aea 100644 --- a/apps/web/app/terminal.tsx +++ b/apps/web/app/terminal.tsx @@ -5663,14 +5663,14 @@ const useTerminalState = () => { } return response.json(); }) - .then((payload: { data?: OptionPrint[] }) => { - const next = new Map(); - for (const item of payload.data ?? []) { - if (!item || !item.trace_id) { - continue; - } - next.set(item.trace_id, item); + .then((payload: { data?: OptionPrint[] }) => { + const next = new Map(); + for (const item of payload.data ?? []) { + if (!item || !item.trace_id) { + continue; } + next.set(item.trace_id, item); + } if (next.size > 0) { setPinnedOptionPrintMap((prev) => upsertPinnedEntries(prev, next, Date.now())); } @@ -5975,14 +5975,14 @@ const useTerminalState = () => { } return response.json(); }) - .then((payload: { data?: OptionPrint[] }) => { - const next = new Map(); - for (const item of payload.data ?? []) { - if (!item || !item.trace_id) { - continue; - } - next.set(item.trace_id, item); + .then((payload: { data?: OptionPrint[] }) => { + const next = new Map(); + for (const item of payload.data ?? []) { + if (!item || !item.trace_id) { + continue; } + next.set(item.trace_id, item); + } if (next.size > 0) { const now = Date.now(); setPinnedOptionPrintMap((prev) => upsertPinnedEntries(prev, next, now));