summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Footer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
-rw-r--r--packages/cli/src/ui/components/Footer.tsx22
1 files changed, 10 insertions, 12 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx
index 06e6c681..215a4868 100644
--- a/packages/cli/src/ui/components/Footer.tsx
+++ b/packages/cli/src/ui/components/Footer.tsx
@@ -2,20 +2,18 @@ import React from 'react';
import { Box, Text } from 'ink';
interface FooterProps {
- queryLength: number;
+ queryLength: number;
}
const Footer: React.FC<FooterProps> = ({ queryLength }) => {
- return (
- <Box marginTop={1} justifyContent="space-between">
- <Box minWidth={15}>
- <Text color="gray">
- {queryLength === 0 ? "? for shortcuts" : ""}
- </Text>
- </Box>
- <Text color="blue">Gemini</Text>
- </Box>
- );
+ return (
+ <Box marginTop={1} justifyContent="space-between">
+ <Box minWidth={15}>
+ <Text color="gray">{queryLength === 0 ? '? for shortcuts' : ''}</Text>
+ </Box>
+ <Text color="blue">Gemini</Text>
+ </Box>
+ );
};
-export default Footer; \ No newline at end of file
+export default Footer;