mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 04:54:25 -07:00
Refactor: Memoize hook callbacks, update dependencies, and fix lint errors (#268)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
@@ -220,7 +220,7 @@ export function useCompletion(
|
||||
isMounted = false;
|
||||
clearTimeout(debounceTimeout);
|
||||
};
|
||||
}, [query, cwd, isActive, resetCompletionState]);
|
||||
}, [query, cwd, isActive, resetCompletionState, slashCommands]);
|
||||
|
||||
return {
|
||||
suggestions,
|
||||
|
||||
Reference in New Issue
Block a user