diff options
| author | Brandon Keiji <[email protected]> | 2025-05-06 15:48:26 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-06 08:48:26 -0700 |
| commit | c5182d5ca4a108eb4f84038a0c998017cacdbae4 (patch) | |
| tree | 856753bec81df435369165d7f7d4aba4092b6701 /packages/cli/src | |
| parent | 6812235cfa918a4a8ae92c92525873cbacaf676b (diff) | |
fix: use flat config for react eslint plugin (#265)
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 2 | ||||
| -rw-r--r-- | packages/cli/src/ui/components/SuggestionsDisplay.tsx | 1 | ||||
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.ts | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index 3052fb17..30eb49bd 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import React, { useCallback, useMemo, useState } from 'react'; +import { useCallback, useMemo, useState } from 'react'; import { Box, Static, Text, useStdout } from 'ink'; import { StreamingState, type HistoryItem } from './types.js'; import { useGeminiStream } from './hooks/useGeminiStream.js'; diff --git a/packages/cli/src/ui/components/SuggestionsDisplay.tsx b/packages/cli/src/ui/components/SuggestionsDisplay.tsx index 02dea70e..f0626fa9 100644 --- a/packages/cli/src/ui/components/SuggestionsDisplay.tsx +++ b/packages/cli/src/ui/components/SuggestionsDisplay.tsx @@ -4,7 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -import React from 'react'; import { Box, Text } from 'ink'; export interface Suggestion { label: string; diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index b4401eef..a51de459 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -68,7 +68,7 @@ export const useSlashCommandProcessor = ( description: '', action: (_value: PartListUnion) => { setDebugMessage('Quitting. Good-bye.'); - const timestamp = getNextMessageId(Date.now()); + getNextMessageId(Date.now()); process.exit(0); }, }, |
