fix: JSX comment inside ternary breaks parsing
This commit is contained in:
@@ -679,8 +679,7 @@ export default function ReasoningWorkspace({
|
||||
{updateStatus === "success" && !isUpdating && <UpdateAcknowledgement updateResult={result} />}
|
||||
|
||||
{/* ── Response area (replaced by loading / error during reasoning) ─ */}
|
||||
{!isUpdating ? (
|
||||
canAnswer && (
|
||||
{!isUpdating && canAnswer ? (
|
||||
<form onSubmit={handleUpdateCaptureAndSubmit} className="space-y-4 rounded-lg border border-gray-200 bg-white p-5">
|
||||
<div>
|
||||
<label htmlFor="rw-answer" className="mb-2 block text-sm font-medium text-gray-700">
|
||||
@@ -709,9 +708,8 @@ export default function ReasoningWorkspace({
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
)
|
||||
) : (
|
||||
/* ── Local update loading card (replaces response panel) ─ */}
|
||||
) : !isUpdating ? null : (
|
||||
/* Local update loading card — replaces the response panel during reasoning */
|
||||
<LoadingOverlay
|
||||
elapsed={updateElapsed}
|
||||
currentMessage={updateMsg}
|
||||
|
||||
Reference in New Issue
Block a user