fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373)
This commit is contained in:
@@ -131,7 +131,7 @@ const openRestorationModal = async (
|
||||
isWorkflowActivated: boolean,
|
||||
formattedCreatedAt: string,
|
||||
): Promise<WorkflowHistoryVersionRestoreModalActions> => {
|
||||
return new Promise((resolve, reject) => {
|
||||
return await new Promise((resolve, reject) => {
|
||||
const buttons = [
|
||||
{
|
||||
text: i18n.baseText('workflowHistory.action.restore.modal.button.cancel'),
|
||||
|
||||
Reference in New Issue
Block a user