Skip to content

The open alternative to Salesforce, designed for AI.

483 B
Raw Blame
import { createAtomComponentState } from '@/ui/utilities/state/jotai/utils/createAtomComponentState';

import { PageLayoutComponentInstanceContext } from './contexts/PageLayoutComponentInstanceContext';

export const hasInitializedFieldsWidgetGroupsDraftComponentState =
  createAtomComponentState<Record<string, boolean>>({
    key: 'hasInitializedFieldsWidgetGroupsDraftComponentState',
    defaultValue: {},
    componentInstanceContext: PageLayoutComponentInstanceContext,
  });