From 35b52f8beae73109cab4f325af8e4ce6b787581a Mon Sep 17 00:00:00 2001 From: ckertam Date: Mon, 4 Dec 2023 20:40:38 +0300 Subject: [PATCH] Update edit Story button name #215 --- backend/frontend/src/pages/story/EditStory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/frontend/src/pages/story/EditStory.js b/backend/frontend/src/pages/story/EditStory.js index 1166a485..2a5e3dd6 100644 --- a/backend/frontend/src/pages/story/EditStory.js +++ b/backend/frontend/src/pages/story/EditStory.js @@ -12,7 +12,6 @@ import StoryMap from './StoryMap'; import TagSearch from './TagSearch'; // Adjust the path as needed import Chip from '@mui/material/Chip'; -let postHeader = null; function EditStory() { @@ -20,6 +19,7 @@ function EditStory() { const isEditMode = storyId != null; const postHeader = 'Edit Memory'; + const postButton = 'Update Memory'; const [title, setTitle] = useState(''); const [content, setContent] = useState(''); @@ -578,7 +578,7 @@ const parseLocation = (location) => { />
- +

You can edit your memory as many times as you want after posting.