소스 검색

change edit and hackMD button styles

kaori 5 년 전
부모
커밋
5ac13a5f65
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/client/js/components/Navbar/ThreeStrandedButton.jsx

+ 2 - 2
src/client/js/components/Navbar/ThreeStrandedButton.jsx

@@ -131,8 +131,8 @@ export const TwoStrandedButton = withTranslation()((props) => {
         id="grw-three-stranded-button"
       >
         {editorMode === 'view' && <>{editButton()} {hackMDButton()}</>}
-        {editorMode === 'edit' && <>{viewButton()} {hackMDButton()}</>}
-        {editorMode === 'hackmd' && <>{viewButton()} {editButton()}</>}
+        {editorMode === 'edit' && <>{viewButton()}</>}
+        {editorMode === 'hackmd' && <>{viewButton()}</>}
       </div>
       {isBtnDisabled && (
         <UncontrolledTooltip placement="top" target="grw-three-stranded-button" fade={false}>