When reacting to a group story keep the modal open

This commit is contained in:
Josh Perez 2022-07-28 20:17:00 -04:00 committed by GitHub
parent 0350692034
commit 32e694d8a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -714,7 +714,9 @@ export const StoryViewer = ({
onClose={() => setHasStoryViewsNRepliesModal(false)}
onReact={emoji => {
onReactToStory(emoji, story);
setHasStoryViewsNRepliesModal(false);
if (!isGroupStory) {
setHasStoryViewsNRepliesModal(false);
}
setReactionEmoji(emoji);
showToast(ToastType.StoryReact);
}}