Close story viewer when DOE a story
This commit is contained in:
@@ -1625,6 +1625,7 @@ export function reducer(
|
|||||||
if (action.type === DOE_STORY) {
|
if (action.type === DOE_STORY) {
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
|
selectedStoryData: undefined,
|
||||||
stories: state.stories.filter(
|
stories: state.stories.filter(
|
||||||
existingStory => existingStory.messageId !== action.payload
|
existingStory => existingStory.messageId !== action.payload
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user