SurfSense/surfsense_web/atoms/chats/ui.atoms.ts

11 lines
246 B
TypeScript
Raw Normal View History

2025-11-15 02:07:20 +02:00
import { atom } from "jotai";
type ActiveChathatUIState = {
isChatPannelOpen: boolean;
};
export const activeChathatUIAtom = atom<ActiveChathatUIState>({
isChatPannelOpen: false,
});
2025-11-18 18:57:41 +02:00
export const activeChatIdAtom = atom<string | null>(null);