Spaces:
Runtime error
Runtime error
File size: 360 Bytes
65567a2 2f65818 65567a2 6c2bcb4 65567a2 2f65818 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 { baseGame } from "@/constants/baseGame";
export const answersAtom = atomWithStorage<
{
id: string;
content: string;
task: string;
}[]
>("2DGameGPT", [
{
id: "1",
content: baseGame.default,
task: "Base Game",
},
]);
export const showCodeAtom = atomWithStorage("2DGameGPT-editor", false);
|