Skip to content

The open alternative to Salesforce, designed for AI.

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

export const agentChatUserCreditsBannerDismissalState = createAtomState<{
  workspaceMemberId: string;
  periodEnd: string;
  isFallingBackToWorkspaceCredits: boolean;
} | null>({
  key: 'ai/agentChatUserCreditsBannerDismissal',
  defaultValue: null,
  useLocalStorage: true,
});