Skip to content

The open alternative to Salesforce, designed for AI.

544 B
Raw Blame
import { createAtomComponentState } from '@/ui/utilities/state/jotai/utils/createAtomComponentState';
import { WorkflowVisualizerComponentInstanceContext } from '@/workflow/workflow-diagram/states/contexts/WorkflowVisualizerComponentInstanceContext';

export const workflowDraftVersionCreationComponentState =
  createAtomComponentState<Promise<string | undefined> | undefined>({
    key: 'workflowDraftVersionCreationComponentState',
    defaultValue: undefined,
    componentInstanceContext: WorkflowVisualizerComponentInstanceContext,
  });