mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-22 04:15:56 +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);
|