AcadeDoc/client/src/features/comment/atoms/comment-atom.ts
2023-11-13 17:48:32 +00:00

5 lines
203 B
TypeScript

import { atom } from 'jotai';
export const showCommentPopupAtom = atom(false);
export const activeCommentIdAtom = atom<string | null>(null);
export const draftCommentIdAtom = atom<string | null>(null);