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, };