1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-03-01 16:20:32 +01:00
upscayl/renderer/atoms/userSettingsAtom.ts
2023-04-15 09:26:40 +05:30

11 lines
298 B
TypeScript

import { atomWithStorage } from "jotai/utils";
export const customModelsPathAtom = atomWithStorage<string | null>(
"customModelsPath",
null
);
export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4");
export const batchModeAtom = atomWithStorage<boolean>("batchMode", false);