From 0440b6a7bc0841be858cddccf4ce166c99294296 Mon Sep 17 00:00:00 2001 From: "jue.hou" Date: Tue, 15 Oct 2024 16:54:40 +0300 Subject: [PATCH] minor fix --- client/components/StoryView/StoryDetailsModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"} - /> + />)}