Close story viewer when DOE a story

This commit is contained in:
Josh Perez 2023-01-27 12:35:58 -05:00 committed by GitHub
parent a88778b536
commit 6a80b4b837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1625,6 +1625,7 @@ export function reducer(
if (action.type === DOE_STORY) {
return {
...state,
selectedStoryData: undefined,
stories: state.stories.filter(
existingStory => existingStory.messageId !== action.payload
),