mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-12 01:40:53 +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);
|