diff --git a/web/app/components/user-info/last-comments-list.jsx b/web/app/components/user-info/last-comments-list.jsx index 4fef9a5e..3abad00c 100644 --- a/web/app/components/user-info/last-comments-list.jsx +++ b/web/app/components/user-info/last-comments-list.jsx @@ -4,12 +4,16 @@ import { h } from 'preact'; import Comment from 'components/comment'; import Preloader from 'components/preloader'; -const LastCommentsList = ({ comments, isLoading }) => { +const LastCommentsList = ({ comments, isLoading, mods = {} }) => { if (isLoading) { return ; } - return
{comments.map(comment => )}
; + return ( +
+ {comments.map(comment => )} +
+ ); }; export default LastCommentsList; diff --git a/web/app/components/user-info/user-info.jsx b/web/app/components/user-info/user-info.jsx index e32bd397..1b802858 100644 --- a/web/app/components/user-info/user-info.jsx +++ b/web/app/components/user-info/user-info.jsx @@ -51,11 +51,11 @@ class UserInfo extends Component { return (
- +

Last comments by {name}

{id}

- {!!comments && } + {!!comments && }
); }