fix(cli): correct UIActions usage and fix ESLint warning

This commit is contained in:
Keith Guerin
2026-03-01 00:58:43 -08:00
parent ae04632a59
commit 30e2820dc2

View File

@@ -78,7 +78,7 @@ export const ShellToolMessage: React.FC<ShellToolMessageProps> = ({
embeddedShellFocused,
);
const { setEmbeddedShellFocused, setActivePtyId } = useUIActions();
const { setEmbeddedShellFocused } = useUIActions();
const wasFocusedRef = React.useRef(false);
React.useEffect(() => {
@@ -102,7 +102,6 @@ export const ShellToolMessage: React.FC<ShellToolMessageProps> = ({
const handleFocus = () => {
if (isThisShellFocusable) {
setActivePtyId(ptyId);
setEmbeddedShellFocused(true);
}
};