diff --git a/src/cli/components/App.tsx b/src/cli/components/App.tsx index 22b5198..fb0b65d 100644 --- a/src/cli/components/App.tsx +++ b/src/cli/components/App.tsx @@ -22,6 +22,7 @@ export function App({ onQuit, }: AppProps) { const { exit } = useApp(); + const hasStatusItems = !!statusItems && statusItems.length > 0; // Global keyboard handler useInput((input, key) => { @@ -46,7 +47,7 @@ export function App({ {/* Status bar */} - {statusItems && statusItems.length > 0 && ( + {hasStatusItems && ( @@ -59,7 +60,7 @@ export function App({ {/* Action bar */} {actions && actions.length > 0 && ( - +