Pause story while attempting to DOE

This commit is contained in:
Josh Perez 2022-10-25 21:39:17 -04:00 committed by GitHub
parent 169d89aa0b
commit 7b9807d464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -300,10 +300,11 @@ export const StoryViewer = ({
const [pauseStory, setPauseStory] = useState(false);
const shouldPauseViewing =
Boolean(confirmDeleteStory) ||
currentViewTarget != null ||
hasActiveCall ||
hasConfirmHideStory ||
hasExpandedCaption ||
currentViewTarget != null ||
isShowingContextMenu ||
pauseStory ||
Boolean(reactionEmoji);