From 383b9177848eeefb8c123a7a7ecc0ee391380eea Mon Sep 17 00:00:00 2001
From: Taylor Mullen <ntaylormullen@google.com>
Date: Fri, 18 Apr 2025 18:08:43 -0400
Subject: Run `npm run format`

- This has the entirety of the changes.

Part of https://b.corp.google.com/issues/411720532
---
 packages/cli/src/ui/components/HistoryDisplay.tsx | 37 +++++++++++------------
 1 file changed, 17 insertions(+), 20 deletions(-)

(limited to 'packages/cli/src/ui/components/HistoryDisplay.tsx')

diff --git a/packages/cli/src/ui/components/HistoryDisplay.tsx b/packages/cli/src/ui/components/HistoryDisplay.tsx
index fe0bf4c1..7565c5bc 100644
--- a/packages/cli/src/ui/components/HistoryDisplay.tsx
+++ b/packages/cli/src/ui/components/HistoryDisplay.tsx
@@ -17,26 +17,23 @@ interface HistoryDisplayProps {
 const HistoryDisplay: React.FC<HistoryDisplayProps> = ({
   history,
   onSubmit,
-}) => 
+}) => (
   // No grouping logic needed here anymore
-   (
-    <Box flexDirection="column">
-      {history.map((item) => (
-        <Box key={item.id} marginBottom={1}>
-          {/* Render standard message types */}
-          {item.type === 'user' && <UserMessage text={item.text} />}
-          {item.type === 'gemini' && <GeminiMessage text={item.text} />}
-          {item.type === 'info' && <InfoMessage text={item.text} />}
-          {item.type === 'error' && <ErrorMessage text={item.text} />}
-
-          {/* Render the tool group component */}
-          {item.type === 'tool_group' && (
-            <ToolGroupMessage toolCalls={item.tools} onSubmit={onSubmit} />
-          )}
-        </Box>
-      ))}
-    </Box>
-  )
-;
+  <Box flexDirection="column">
+    {history.map((item) => (
+      <Box key={item.id} marginBottom={1}>
+        {/* Render standard message types */}
+        {item.type === 'user' && <UserMessage text={item.text} />}
+        {item.type === 'gemini' && <GeminiMessage text={item.text} />}
+        {item.type === 'info' && <InfoMessage text={item.text} />}
+        {item.type === 'error' && <ErrorMessage text={item.text} />}
 
+        {/* Render the tool group component */}
+        {item.type === 'tool_group' && (
+          <ToolGroupMessage toolCalls={item.tools} onSubmit={onSubmit} />
+        )}
+      </Box>
+    ))}
+  </Box>
+);
 export default HistoryDisplay;
-- 
cgit v1.2.3

