import { atom } from "jotai"; import type { GetChatsRequest } from "@/contracts/types/chat.types"; type ActiveChathatUIState = { isChatPannelOpen: boolean; }; export const activeChathatUIAtom = atom({ isChatPannelOpen: false, }); export const activeChatIdAtom = atom(null); export const globalChatsQueryParamsAtom = atom({ limit: 5, skip: 0, });