mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373)
This commit is contained in:
@@ -57,7 +57,7 @@ export const capitalizeFirstLetter = (text: string): string => {
|
||||
};
|
||||
|
||||
export const getBannerRowHeight = async (): Promise<number> => {
|
||||
return new Promise((resolve) => {
|
||||
return await new Promise((resolve) => {
|
||||
setTimeout(() => {
|
||||
resolve(document.getElementById('banners')?.clientHeight ?? 0);
|
||||
}, 0);
|
||||
|
||||
Reference in New Issue
Block a user