Page MenuHomePhabricator

D4191.id13410.diff
No OneTemporary

D4191.id13410.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
@@ -410,9 +410,6 @@
threadStoreOperations: [],
};
}
- const updatedStore = {
- threadInfos: { ...state.threadInfos, ...updatedThreadInfos },
- };
const threadStoreOperations = Object.keys(updatedThreadInfos).map(id => ({
type: 'replace',
payload: {
@@ -420,13 +417,12 @@
threadInfo: updatedThreadInfos[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:12 PM (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577218
Default Alt Text
D4191.id13410.diff (956 B)

Event Timeline