refactor: remove unused props clearItems, openThemeDialog, onSubmit (#357)

This commit is contained in:
Brandon Keiji
2025-05-15 16:12:15 +00:00
committed by GitHub
parent 39d57ead1a
commit c6bca64499
5 changed files with 1 additions and 20 deletions

View File

@@ -55,12 +55,10 @@ enum StreamProcessingStatus {
*/
export const useGeminiStream = (
addItem: UseHistoryManagerReturn['addItem'],
_clearItems: UseHistoryManagerReturn['clearItems'],
refreshStatic: () => void,
setShowHelp: React.Dispatch<React.SetStateAction<boolean>>,
config: Config,
onDebugMessage: (message: string) => void,
_openThemeDialog: () => void,
handleSlashCommand: (cmd: PartListUnion) => boolean,
) => {
const toolRegistry = config.getToolRegistry();