refactor(editor): Fix types issues in src/components/Node/* (no-changelog) (#9444)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
oleg
2024-05-17 14:46:11 +02:00
committed by GitHub
parent aac19d3285
commit 69bb745cac
18 changed files with 183 additions and 111 deletions

View File

@@ -16,7 +16,11 @@ export const retry = async (
try {
resolve(assertion());
} catch (err) {
Date.now() - startTime > timeout ? reject(err) : tryAgain();
if (Date.now() - startTime > timeout) {
reject(err);
} else {
tryAgain();
}
}
}, interval);
};
@@ -62,7 +66,10 @@ export const SETTINGS_STORE_DEFAULT_STATE: ISettingsState = {
saveDataErrorExecution: 'all',
saveDataSuccessExecution: 'all',
saveManualExecutions: false,
binaryDataMode: 'default',
initialized: false,
mfa: {
enabled: false,
},
};
export const getDropdownItems = async (dropdownTriggerParent: HTMLElement) => {