Page MenuHomePhabricator

D4185.diff
No OneTemporary

D4185.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
@@ -186,9 +186,6 @@
action.type === fullStateSyncActionType
) {
const newThreadInfos = action.payload.threadInfos;
- const updatedStore = {
- threadInfos: newThreadInfos,
- };
const threadStoreOperations = [
{
type: 'remove_all',
@@ -198,13 +195,12 @@
payload: { id, threadInfo: newThreadInfos[id] },
})),
];
- 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, 8:22 PM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577229
Default Alt Text
D4185.diff (944 B)

Event Timeline