Allow multiple reactions to stories
This commit is contained in:
parent
42554ebaf0
commit
6d576ed901
9 changed files with 211 additions and 119 deletions
|
@ -69,8 +69,8 @@ export function SmartStoryViewer({
|
|||
onNextUserStories={onNextUserStories}
|
||||
onPrevUserStories={onPrevUserStories}
|
||||
onReactToStory={async (emoji, story) => {
|
||||
const { messageId, selectedReaction: previousReaction } = story;
|
||||
storiesActions.reactToStory(emoji, messageId, previousReaction);
|
||||
const { messageId } = story;
|
||||
storiesActions.reactToStory(emoji, messageId);
|
||||
}}
|
||||
onReplyToStory={(message, mentions, timestamp, story) => {
|
||||
storiesActions.replyToStory(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue