Page MenuHomePhabricator

D9798.diff
No OneTemporary

D9798.diff

diff --git a/lib/reducers/user-reducer.js b/lib/reducers/user-reducer.js
--- a/lib/reducers/user-reducer.js
+++ b/lib/reducers/user-reducer.js
@@ -215,6 +215,16 @@
const newUserInfos = _keyBy(userInfo => userInfo.id)(
action.payload.userInfos,
);
+ const processedUserInfos: UserInfos = processUserStoreOps(state.userInfos, [
+ { type: 'remove_all_users' },
+ ...convertUserInfosToReplaceUserOps(newUserInfos),
+ ]);
+ assertUserStoresAreEqual(
+ processedUserInfos,
+ newUserInfos,
+ action.type,
+ onStateDifference,
+ );
if (!_isEqual(state.userInfos)(newUserInfos)) {
return [
{

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 12:36 AM (21 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2592188
Default Alt Text
D9798.diff (664 B)

Event Timeline