Fixes isHidden prop from not being present in StoryView

This commit is contained in:
Josh Perez
2022-08-11 15:38:24 -04:00
committed by GitHub
parent 7126cbd5e4
commit f7b2627991
3 changed files with 6 additions and 1 deletions

View File

@@ -765,7 +765,10 @@ export const StoryViewer = ({
<ConfirmationDialog
actions={[
{
action: () => onHideStory(id),
action: () => {
onHideStory(id);
onClose();
},
style: 'affirmative',
text: i18n('StoryListItem__hide-modal--confirm'),
},