fix(#4003): Remove unhandled promises

Add eslint rules to check for unhandled promises
Fix all existing unhandled promise issues
This commit is contained in:
Sidharth Vinod
2023-01-18 00:47:49 +05:30
parent 549483d19b
commit afe3f593e1
13 changed files with 504 additions and 371 deletions

View File

@@ -151,7 +151,7 @@ if (typeof document !== 'undefined') {
contentLoadedApi();
} else {
this.console.log('Not using api');
contentLoaded();
void contentLoaded();
}
},
false