Spaces:
Runtime error
Runtime error
File size: 337 Bytes
65567a2 |
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;
}[]
>("fail4", [
{
id: "1",
content: base.default,
task: "Base Script",
},
]);
export const showCodeAtom = atomWithStorage("fail4-editor", false);
|