SurfSense/surfsense_web/atoms/chats/ui.atoms.ts
2025-11-20 08:17:57 +02:00

10 lines
246 B
TypeScript

import { atom } from "jotai";
type ActiveChathatUIState = {
isChatPannelOpen: boolean;
};
export const activeChathatUIAtom = atom<ActiveChathatUIState>({
isChatPannelOpen: false,
});
export const activeChatIdAtom = atom<string | null>(null);