mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 04:54:25 -07:00
Disallow floating promises. (#14605)
This commit is contained in:
committed by
GitHub
parent
3cf44acc08
commit
025e450ac2
@@ -112,6 +112,7 @@ export const CloudFreePrivacyNotice = ({
|
||||
items={items}
|
||||
initialIndex={privacyState.dataCollectionOptIn ? 0 : 1}
|
||||
onSelect={(value) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
updateDataCollectionOptIn(value);
|
||||
// Only exit if there was no error.
|
||||
if (!privacyState.error) {
|
||||
|
||||
Reference in New Issue
Block a user