Stories improvements

This commit is contained in:
Josh Perez 2022-07-21 21:38:27 -04:00 committed by GitHub
parent 5dfe30d235
commit badf9d7dda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 44 additions and 30 deletions

View file

@ -906,6 +906,12 @@ export function reducer(
return {
...state,
isShowingStoriesView: !state.isShowingStoriesView,
selectedStoryData: state.isShowingStoriesView
? undefined
: state.selectedStoryData,
storyViewMode: state.isShowingStoriesView
? undefined
: state.storyViewMode,
};
}