Page MenuHomePhabricator

D4187.diff
No OneTemporary

D4187.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
@@ -249,20 +249,16 @@
threadStoreOperations: [],
};
}
- const {
- threadStoreOperations,
- threadInfos: newThreadInfos,
- } = reduceThreadUpdates(state.threadInfos, action.payload);
- const updatedStore = {
- threadInfos: newThreadInfos,
- };
- const processedStore = processThreadStoreOperations(
+ const { threadStoreOperations } = reduceThreadUpdates(
+ state.threadInfos,
+ action.payload,
+ );
+ 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:36 PM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576885
Default Alt Text
D4187.diff (977 B)

Event Timeline