diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index 50a290df..ac196f18 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -212,25 +212,17 @@ export const App = ({ * content is set it'll flush content to the terminal and move the area which it's "clearing" * down a notch. Without Static the area which gets erased and redrawn continuously grows. */} - - {(item, index) => { - if (item === 'header') { - return ( - -
- - - ); - } - - const historyItem = item as HistoryItem; - return ( - - ); - }} + +
+ + , + ...history.map((h) => ), + ]} + > + {(item) => item} {pendingHistoryItem && (