mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-19 14:30:52 -07:00
Disallow floating promises. (#14605)
This commit is contained in:
committed by
GitHub
parent
8c90a1d855
commit
69ae42bb1f
@@ -49,6 +49,7 @@ export const Notifications = () => {
|
||||
};
|
||||
|
||||
if (isScreenReaderEnabled) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
checkScreenReader();
|
||||
}
|
||||
}, [isScreenReaderEnabled]);
|
||||
@@ -69,6 +70,7 @@ export const Notifications = () => {
|
||||
}
|
||||
}
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
writeScreenReaderNudgeFile();
|
||||
}, [showScreenReaderNudge]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user