Yuki Takei пре 6 година
родитељ
комит
6accec6ea2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/client/js/components/PageComment/CommentEditor.jsx

+ 2 - 2
src/client/js/components/PageComment/CommentEditor.jsx

@@ -253,12 +253,12 @@ class CommentEditor extends React.Component {
             <div className="comment-write">
               <Nav tabs>
                 <NavItem>
-                  <NavLink className={activeTab === 1 ? 'active' : ''} onClick={() => this.handleSelect(1)}>
+                  <NavLink type="button" className={activeTab === 1 ? 'active' : ''} onClick={() => this.handleSelect(1)}>
                     Write
                   </NavLink>
                 </NavItem>
                 <NavItem>
-                  <NavLink className={activeTab === 2 ? 'active' : ''} onClick={() => this.handleSelect(2)}>
+                  <NavLink type="button" className={activeTab === 2 ? 'active' : ''} onClick={() => this.handleSelect(2)}>
                     Preview
                   </NavLink>
                 </NavItem>