feat: toggle log ws

This commit is contained in:
GyDi committed 2022-09-20 22:15:28 +08:00
1 parent 3a9e28ba48
commit 39a8ddcfec
4 files changed
+72 -12

No files matched your search

+5
View File
@@ -15,6 +15,11 @@ export const atomLogData = atom<ApiType.LogItem[]>({
default: [],
});
export const atomEnableLog = atom<boolean>({
key: "atomEnableLog",
default: true,
});
// save the state of each profile item loading
export const atomLoadingCache = atom<Record<string, boolean>>({
key: "atomLoadingCache",