feat: refactor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { atom } from "jotai";
|
||||
|
||||
// Editor
|
||||
export const editorAtom = atom(false);
|
||||
export const editorValueAtom = atom([
|
||||
{
|
||||
@@ -8,7 +9,9 @@ export const editorValueAtom = atom([
|
||||
},
|
||||
]);
|
||||
|
||||
// Onboarding
|
||||
export const onboardingAtom = atom(false);
|
||||
|
||||
// Activity
|
||||
export const activityAtom = atom(false);
|
||||
export const activityUnreadAtom = atom(0);
|
||||
|
||||
Reference in New Issue
Block a user