Page MenuHomePhabricator

D4192.diff
No OneTemporary

D4192.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
@@ -435,12 +435,6 @@
unread,
},
};
- const updatedStore = {
- threadInfos: {
- ...state.threadInfos,
- [threadID]: updatedThreadInfo,
- },
- };
const threadStoreOperations = [
{
type: 'replace',
@@ -450,13 +444,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:22 PM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576862
Default Alt Text
D4192.diff (888 B)

Event Timeline