Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3393086
D4186.id13298.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
797 B
Referenced Files
None
Subscribers
None
D4186.id13298.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
@@ -217,21 +217,17 @@
threadStoreOperations: [],
};
}
- const updatedStore = {
- threadInfos: {},
- };
const threadStoreOperations = [
{
type: 'remove_all',
},
];
- 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, Dec 1, 11:26 AM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2601161
Default Alt Text
D4186.id13298.diff (797 B)
Attached To
Mode
D4186: [lib] Update `threadStore` with `threadStoreOps` for logOut.success/deleteAccount.success/setNewSession actions
Attached
Detach File
Event Timeline
Log In to Comment