Spaces:
Runtime error
Runtime error
File size: 343 Bytes
65567a2 6c2bcb4 65567a2 6c2bcb4 65567a2 6c2bcb4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import { atomWithStorage } from "jotai/utils";
import { base } from "@/constants";
export const answersAtom = atomWithStorage<
{
id: string;
content: string;
task: string;
}[]
>("2DGameGPT", [
{
id: "1",
content: base.default,
task: "Base Game",
},
]);
export const showCodeAtom = atomWithStorage("2DGameGPT-editor", false);
|