diff --git a/packages/react/components/Account/Bookmarks.mjs b/packages/react/components/Account/Bookmarks.mjs index cd25e37bb32..c6eed2402eb 100644 --- a/packages/react/components/Account/Bookmarks.mjs +++ b/packages/react/components/Account/Bookmarks.mjs @@ -259,7 +259,12 @@ export const BookmarkButton = ({ slug, type, title }) => { className={`tw:daisy-btn tw:daisy-btn-secondary tw:daisy-btn-outline ${horFlexClasses}`} onClick={() => setModal( - + ) @@ -291,6 +296,7 @@ export const CreateBookmark = ({ type, title, slug }) => { const bookmark = async (evt) => { evt.stopPropagation() setLoadingStatus([true, 'Contacting backend']) + let title = name const [status] = await backend.createBookmark({ type, title, url }) if (status === 201) { setLoadingStatus([true, 'Bookmark created', true, true])