Implement workflow loops default state (#14297)

https://github.com/user-attachments/assets/9176ae58-f253-469c-b5b6-98d77909db53
This commit is contained in:
Baptiste Devessier
2025-09-10 16:32:39 +02:00
committed by GitHub
parent 4d6ef9bc34
commit 7b23f5ac91
31 changed files with 712 additions and 147 deletions
@@ -1,9 +1,9 @@
import { type WorkflowActionType } from '@/workflow/types/Workflow';
import { getActionHeaderTypeOrThrow } from '@/workflow/workflow-steps/workflow-actions/utils/getActionHeaderTypeOrThrow';
import { useLingui } from '@lingui/react';
import { useLingui } from '@lingui/react/macro';
export const useActionHeaderTypeOrThrow = (actionType: WorkflowActionType) => {
const { _ } = useLingui();
const { i18n } = useLingui();
return _(getActionHeaderTypeOrThrow(actionType));
return i18n._(getActionHeaderTypeOrThrow(actionType));
};