fix: profile item loading state

This commit is contained in:
GyDi authored and GitHub committed 2022-03-21 11:40:27 +08:00
1 parent 67f5218a73
commit a7e978dc06
2 files changed
+20 -17

No files matched your search

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