@nextclaw/agent-chat-ui 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2676,7 +2676,7 @@ function TerminalExecutionView({ card }) {
|
|
|
2676
2676
|
const isRunning = card.statusTone === "running";
|
|
2677
2677
|
const hasContent = !!(card.summary?.trim() || output.length > 0);
|
|
2678
2678
|
const wasEmptyRef = useRef6(!hasContent);
|
|
2679
|
-
const [expanded, setExpanded] = useState7(hasContent && (isRunning || card.statusTone === "error"
|
|
2679
|
+
const [expanded, setExpanded] = useState7(hasContent && (isRunning || card.statusTone === "error"));
|
|
2680
2680
|
const [hasUserToggled, setHasUserToggled] = useState7(false);
|
|
2681
2681
|
const prevRunningRef = useRef6(isRunning);
|
|
2682
2682
|
useEffect7(() => {
|