Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3356721
D4191.id13410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
956 B
Referenced Files
None
Subscribers
None
D4191.id13410.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4191: [lib] Update `threadStore` with `threadStoreOps` for `updateActivity.success` action
Attached
Detach File
Event Timeline
Log In to Comment