From 1cb79cb36b2dab37a1913ce826da02e816ec5576 Mon Sep 17 00:00:00 2001 From: robbond Date: Wed, 5 Aug 2026 11:52:11 +0100 Subject: [PATCH] fix: resolve nested ternary JSX syntax error --- components/reasoning-workspace.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/components/reasoning-workspace.jsx b/components/reasoning-workspace.jsx index 7d5864a..4413c25 100644 --- a/components/reasoning-workspace.jsx +++ b/components/reasoning-workspace.jsx @@ -675,7 +675,7 @@ export default function ReasoningWorkspace({ {updateStatus === "success" && !isUpdating && } {/* Active workspace (Question + Response) — full-width column */} - {hasSelectedQuestion ? ( + {hasSelectedQuestion && (
{isUpdating && ( )}
- ) : status === "success" ? ( + )} + + {/* Terminal state — when no active question */} + {status === "success" && !hasSelectedQuestion && ( <> - {/* Terminal state */} {genuineCompletion && ( )} @@ -727,8 +729,9 @@ export default function ReasoningWorkspace({ )} - ) : null} + )} + {/* ═══════════════ ZONE 2 — Shared understanding ═══════════════ */} {hasSelectedQuestion && hasCurrentSummaryCondition && (