mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 14:23:02 -07:00
Remove unnecessary sleep.
- Code review comment: https://github.com/google-gemini/gemini-code/pull/271#pullrequestreview-2821741430
This commit is contained in:
committed by
N. Taylor Mullen
parent
9577f8b1e4
commit
e416cda5f1
@@ -392,8 +392,6 @@ export const useGeminiStream = (
|
||||
refreshStatic();
|
||||
}
|
||||
|
||||
await new Promise((resolve) => setTimeout(resolve, 0)); // Allow UI to re-render
|
||||
|
||||
if (outcome === ToolConfirmationOutcome.Cancel) {
|
||||
let resultDisplay: ToolResultDisplay | undefined;
|
||||
if ('fileDiff' in originalConfirmationDetails) {
|
||||
|
||||
Reference in New Issue
Block a user