Files
twenty/packages/twenty-front/src/modules/ai/states/currentAIChatThreadTitleStateV2.ts
T
Charles Bochet d7f025157b Migrate more to Jotai (#17968)
As per title

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
2026-02-17 19:24:36 +01:00

7 lines
230 B
TypeScript

import { createStateV2 } from '@/ui/utilities/state/jotai/utils/createStateV2';
export const currentAIChatThreadTitleStateV2 = createStateV2<string | null>({
key: 'ai/currentAIChatThreadTitleStateV2',
defaultValue: null,
});