16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
// import { atom } from "recoil";
|
|
|
|
import { atom } from "jotai";
|
|
|
|
// export const SchemaEditAtom = atom<Schema>({
|
|
// key: "schema-edit",
|
|
// default: { name: "", types: {}, schema: {}, id: "" },
|
|
// });
|
|
|
|
export const SchemaEditAtom = atom<Schema>({
|
|
name: "",
|
|
id: "",
|
|
types: {},
|
|
fields: {},
|
|
});
|