diff --git a/client/components/StoryView/StoryDetailsModal.js b/client/components/StoryView/StoryDetailsModal.js index 42e35d0f..37117a54 100644 --- a/client/components/StoryView/StoryDetailsModal.js +++ b/client/components/StoryView/StoryDetailsModal.js @@ -181,11 +181,11 @@ const StoryDetailsModal = ({ variant="secondary" translationId="Share" /> - setSharedStoryVisibility(story._id, hidden === true)} variant="secondary" translationId={hidden && "release-story" || "hide-story"} - /> + />)}