takeru0001 %!s(int64=5) %!d(string=hai) anos
pai
achega
06f1a98013
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      src/client/js/components/LikeButton.jsx

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

@@ -24,16 +24,9 @@ class LikeButton extends React.Component {
     }
     }
   }
   }
 
 
-  isUserLoggedIn() {
-    return this.props.appContainer.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