From b7f1b2a6092798cdf9357239f923c115e26f1199 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Sun, 16 Dec 2018 21:23:08 +0200 Subject: [PATCH] set theme of comments inside user-info to light --- web/app/components/user-info/last-comments-list.jsx | 8 ++++++-- web/app/components/user-info/user-info.jsx | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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 && }
); }