mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: user stats changes based on selected tab (#4504)
- set partial only the relevant user stats instead of only adding up stats
This commit is contained in:
@@ -179,7 +179,6 @@ const userStore = (() => {
|
||||
}
|
||||
state.setPartial({
|
||||
userStatsByName: {
|
||||
...state.userStatsByName,
|
||||
...userStatsByName,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user