Skip to content

Commit

Permalink
Remove deleted messages from Redux search state
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Jun 16, 2021
1 parent 1520c80 commit 3389b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/state/ducks/search.ts
Expand Up @@ -481,7 +481,7 @@ export function reducer(
return {
...state,
messageIds: reject(messageIds, messageId => id === messageId),
messageLookup: omit(messageLookup, ['id']),
messageLookup: omit(messageLookup, id),
};
}

Expand Down

0 comments on commit 3389b2e

Please sign in to comment.