refactor: extract dark theme to recoil state

This commit is contained in:
Sam 2022-12-22 15:43:10 +01:00
parent d3eaaaaa9d
commit 07c6bf53a9
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 7 additions and 2 deletions

View file

@ -5,3 +5,8 @@ export const userState = atom<MeUser | null>({
key: "userState",
default: null,
});
export const themeState = atom<boolean>({
key: "themeState",
default: false,
});