mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-02 19:17:25 +01:00
6 lines
247 B
TypeScript
6 lines
247 B
TypeScript
import { GrayMatterFile } from "gray-matter";
|
|
import { atomWithStorage } from "jotai/utils";
|
|
|
|
export const showNewsModalAtom = atomWithStorage("showNewsModal", false);
|
|
export const newsAtom = atomWithStorage<GrayMatterFile<string>>("news", null);
|