Profile: Fix story context menu closing (#4610)
This commit is contained in:
parent
350db2560f
commit
d68691c130
@ -124,6 +124,7 @@ function MediaStory({
|
|||||||
|
|
||||||
const handleTogglePinned = useLastCallback(() => {
|
const handleTogglePinned = useLastCallback(() => {
|
||||||
toggleStoryPinnedToTop({ peerId, storyId: story.id });
|
toggleStoryPinnedToTop({ peerId, storyId: story.id });
|
||||||
|
handleContextMenuClose();
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user