15 lines
382 B
TypeScript
15 lines
382 B
TypeScript
import { TTCQueryParser } from "@/lib/ttcQuery/TTCQueryParser";
|
|
import { atom } from "jotai";
|
|
// import { atom } from "recoil";
|
|
|
|
// export const PublicationAtom = atom({
|
|
// key: "publication",
|
|
// default: new TTCQueryParser({
|
|
// path: { to: { dice: "2d6" } },
|
|
// }),
|
|
// });
|
|
|
|
export const PublicationAtom = atom(
|
|
new TTCQueryParser({ path: { to: { dice: "2d6" } } }),
|
|
);
|