kaori 5 лет назад
Родитель
Сommit
ef51d89062

+ 2 - 2
src/client/js/components/ContentLinkButtons.jsx

@@ -41,7 +41,7 @@ const ContentLinkButtons = (props) => {
     );
   };
 
-  const BookMarksLinkButton = () => {
+  const BookMarkLinkButton = () => {
     return (
       <button
         type="button"
@@ -74,7 +74,7 @@ const ContentLinkButtons = (props) => {
       {isPageExist && <CommentLinkButton />}
 
       <div className="mt-3 d-flex justify-content-between">
-        {pageUser && <><BookMarksLinkButton /><RecentlyCreatedLinkButton /></>}
+        {pageUser && <><BookMarkLinkButton /><RecentlyCreatedLinkButton /></>}
       </div>
     </>
   );

+ 1 - 2
src/client/js/components/Page/DisplaySwitcher.jsx

@@ -8,8 +8,7 @@ import Editor from '../PageEditor';
 import Page from '../Page';
 import UserInfo from '../User/UserInfo';
 import TableOfContents from '../TableOfContents';
-import
-ContentLinkButtons from '../ContentLinkButtons';
+import ContentLinkButtons from '../ContentLinkButtons';
 import PageAccessories from '../PageAccessories';
 import PageEditorByHackmd from '../PageEditorByHackmd';
 import EditorNavbarBottom from '../PageEditor/EditorNavbarBottom';