Browse Source

fix codes a little bit

kaori 5 years ago
parent
commit
ef51d89062

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

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

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

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