From a7ba0567a3cc647ec8e1115de4ec6bf9cd5bcc17 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Mon, 1 Oct 2018 10:30:27 +0300 Subject: [PATCH] remove useless close button in user-info --- web/app/components/user-info/user-info.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/web/app/components/user-info/user-info.jsx b/web/app/components/user-info/user-info.jsx index 059baae0..63f6c6e9 100644 --- a/web/app/components/user-info/user-info.jsx +++ b/web/app/components/user-info/user-info.jsx @@ -4,7 +4,6 @@ import { connect } from 'preact-redux'; import api from 'common/api'; import LastCommentsList from './last-comments-list'; -import { getHandleClickProps } from 'common/accessibility'; import Avatar from 'components/avatar-icon'; import { fetchComments, completeFetchComments } from './user-info.actions'; import { getUserComments, getIsLoadingUserComments } from './user-info.getters'; @@ -48,7 +47,6 @@ class UserInfo extends Component { user: { name, id, isDefaultPicture, picture }, comments = [], isLoading, - onClose, } = props; return ( @@ -58,10 +56,6 @@ class UserInfo extends Component {

{id}

{!!comments && } - - - Close ✖ - ); }