From cfc697a96d2e716a75e1c3b7f0f34fce81abaf1e Mon Sep 17 00:00:00 2001
From: Taylor Mullen <ntaylormullen@google.com>
Date: Thu, 17 Apr 2025 18:06:21 -0400
Subject: Run `npm run format`

- Also updated README.md accordingly.

Part of https://b.corp.google.com/issues/411384603
---
 .../src/ui/components/messages/GeminiMessage.tsx   | 56 +++++++++++-----------
 1 file changed, 28 insertions(+), 28 deletions(-)

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

diff --git a/packages/cli/src/ui/components/messages/GeminiMessage.tsx b/packages/cli/src/ui/components/messages/GeminiMessage.tsx
index fe09eb33..ccccbfc6 100644
--- a/packages/cli/src/ui/components/messages/GeminiMessage.tsx
+++ b/packages/cli/src/ui/components/messages/GeminiMessage.tsx
@@ -3,42 +3,42 @@ import { Text, Box } from 'ink';
 import { MarkdownRenderer } from '../../utils/MarkdownRenderer.js';
 
 interface GeminiMessageProps {
-    text: string;
+  text: string;
 }
 
 const GeminiMessage: React.FC<GeminiMessageProps> = ({ text }) => {
-    const prefix = '✦ ';
-    const prefixWidth = prefix.length;
+  const prefix = '✦ ';
+  const prefixWidth = prefix.length;
 
-    // Handle potentially null or undefined text gracefully
-    const safeText = text || '';
+  // Handle potentially null or undefined text gracefully
+  const safeText = text || '';
 
-    // Use the static render method from the MarkdownRenderer class
-    // Pass safeText which is guaranteed to be a string
-    const renderedBlocks = MarkdownRenderer.render(safeText);
-
-    // If the original text was actually empty/null, render the minimal state
-     if (!safeText && renderedBlocks.length === 0) {
-        return (
-             <Box flexDirection="row">
-                <Box width={prefixWidth}>
-                    <Text color="blue">{prefix}</Text>
-                </Box>
-                <Box flexGrow={1}></Box>
-            </Box>
-        );
-    }
+  // Use the static render method from the MarkdownRenderer class
+  // Pass safeText which is guaranteed to be a string
+  const renderedBlocks = MarkdownRenderer.render(safeText);
 
+  // If the original text was actually empty/null, render the minimal state
+  if (!safeText && renderedBlocks.length === 0) {
     return (
-        <Box flexDirection="row">
-            <Box width={prefixWidth}>
-                <Text color="blue">{prefix}</Text>
-            </Box>
-            <Box flexGrow={1} flexDirection="column">
-                {renderedBlocks}
-            </Box>
+      <Box flexDirection="row">
+        <Box width={prefixWidth}>
+          <Text color="blue">{prefix}</Text>
         </Box>
+        <Box flexGrow={1}></Box>
+      </Box>
     );
+  }
+
+  return (
+    <Box flexDirection="row">
+      <Box width={prefixWidth}>
+        <Text color="blue">{prefix}</Text>
+      </Box>
+      <Box flexGrow={1} flexDirection="column">
+        {renderedBlocks}
+      </Box>
+    </Box>
+  );
 };
 
-export default GeminiMessage;
\ No newline at end of file
+export default GeminiMessage;
-- 
cgit v1.2.3

