1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-18 10:26:04 +01:00
upscayl/renderer/atoms/newsAtom.ts

6 lines
247 B
TypeScript
Raw Normal View History

2023-11-26 09:04:03 +01:00
import { GrayMatterFile } from "gray-matter";
2023-11-23 09:53:09 +01:00
import { atomWithStorage } from "jotai/utils";
2023-11-26 09:04:03 +01:00
export const showNewsModalAtom = atomWithStorage("showNewsModal", false);
export const newsAtom = atomWithStorage<GrayMatterFile<string>>("news", null);