takeru0001 пре 5 година
родитељ
комит
e865c652f8
1 измењених фајлова са 0 додато и 7 уклоњено
  1. 0 7
      src/client/js/components/BookmarkButton.jsx

+ 0 - 7
src/client/js/components/BookmarkButton.jsx

@@ -24,16 +24,9 @@ class BookmarkButton extends React.Component {
     }
     }
   }
   }
 
 
-  isUserLoggedIn() {
-    return this.props.crowi.currentUserId != null;
-  }
 
 
   render() {
   render() {
     const { pageContainer } = this.props;
     const { pageContainer } = this.props;
-    // if guest user
-    if (!this.isUserLoggedIn()) {
-      return <div></div>;
-    }
 
 
     return (
     return (
       <button
       <button