Page MenuHomePhabricator

D4193.diff
No OneTemporary

D4193.diff

diff --git a/lib/reducers/thread-reducer.js b/lib/reducers/thread-reducer.js
--- a/lib/reducers/thread-reducer.js
+++ b/lib/reducers/thread-reducer.js
@@ -473,12 +473,6 @@
...state.threadInfos[threadID],
currentUser: updatedUser,
};
- const updatedStore = {
- threadInfos: {
- ...state.threadInfos,
- [threadID]: updatedThread,
- },
- };
const threadStoreOperations = [
{
type: 'replace',
@@ -488,13 +482,12 @@
},
},
];
- const processedStore = processThreadStoreOperations(
+ const updatedThreadStore = processThreadStoreOperations(
state,
threadStoreOperations,
);
- assertThreadStoreThreadsAreEqual(processedStore, updatedStore, action.type);
return {
- threadStore: updatedStore,
+ threadStore: updatedThreadStore,
newThreadInconsistencies: [],
threadStoreOperations,
};

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 5:43 PM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576897
Default Alt Text
D4193.diff (929 B)

Event Timeline