From 5129dd4fad40f8a2c44f0163a5b272d25aa60614 Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Mon, 2 Dec 2024 13:28:33 -0500 Subject: [PATCH] fix: Add menu items directly --- .../components/StoryMapForm/TopBar.js | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/storyMap/components/StoryMapForm/TopBar.js b/src/storyMap/components/StoryMapForm/TopBar.js index f6651b704..7e4c51e73 100644 --- a/src/storyMap/components/StoryMapForm/TopBar.js +++ b/src/storyMap/components/StoryMapForm/TopBar.js @@ -128,18 +128,16 @@ const ActionsMenu = () => { {storyMap && ( - <> - - {t('storyMap.form_view_published_button')} - - - + + {t('storyMap.form_view_published_button')} + )} + {storyMap && } {storyMap && ( setOpenShareDialog(true)}> {t('storyMap.form_share_button')}