Remove unnecessary sleep.
- Code review comment: https://github.com/google-gemini/gemini-code/pull/271#pullrequestreview-2821741430
This commit is contained in:
parent
327bd5f836
commit
6989032414
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue