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:
parent
e75ef0964d
commit
32c69bbb52
1 changed files with 0 additions and 1 deletions
|
|
@ -179,7 +179,6 @@ const userStore = (() => {
|
||||||
}
|
}
|
||||||
state.setPartial({
|
state.setPartial({
|
||||||
userStatsByName: {
|
userStatsByName: {
|
||||||
...state.userStatsByName,
|
|
||||||
...userStatsByName,
|
...userStatsByName,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue