From 841398c6c10e77361698263e461253c65b244ad7 Mon Sep 17 00:00:00 2001 From: okbel Date: Thu, 4 Jan 2018 13:23:41 -0300 Subject: [PATCH] Removing pointer hover, adding proptypes --- client/coral-admin/src/components/LoadMore.js | 3 ++- client/coral-admin/src/components/UserDetailCommentList.js | 4 +++- client/coral-admin/src/routes/Community/components/styles.css | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/coral-admin/src/components/LoadMore.js b/client/coral-admin/src/components/LoadMore.js index eaacb4413..bc4af5cbf 100644 --- a/client/coral-admin/src/components/LoadMore.js +++ b/client/coral-admin/src/components/LoadMore.js @@ -4,7 +4,7 @@ import {Button} from 'coral-ui'; import styles from './LoadMore.css'; import cn from 'classnames'; -const LoadMore = ({loadMore, showLoadMore, className, ...rest}) => +const LoadMore = ({loadMore, showLoadMore, className = '', ...rest}) =>
{ showLoadMore &&
; LoadMore.propTypes = { + className: PropTypes.string, loadMore: PropTypes.func.isRequired, showLoadMore: PropTypes.bool.isRequired }; diff --git a/client/coral-admin/src/components/UserDetailCommentList.js b/client/coral-admin/src/components/UserDetailCommentList.js index 16a583d79..2aa3c6df3 100644 --- a/client/coral-admin/src/components/UserDetailCommentList.js +++ b/client/coral-admin/src/components/UserDetailCommentList.js @@ -15,7 +15,8 @@ const UserDetailCommentList = (props) => { user, comments: { nodes, - hasNextPage} + hasNextPage + } }, acceptComment, rejectComment, @@ -44,6 +45,7 @@ const UserDetailCommentList = (props) => { /> {selectedCommentIds.length} comments selected + )}
diff --git a/client/coral-admin/src/routes/Community/components/styles.css b/client/coral-admin/src/routes/Community/components/styles.css index 093ee3e7f..c9addf35b 100644 --- a/client/coral-admin/src/routes/Community/components/styles.css +++ b/client/coral-admin/src/routes/Community/components/styles.css @@ -254,10 +254,6 @@ th.header { font-size: 1.1em; } -th.header:hover { - cursor: pointer; -} - th.header:nth-child(2), th.header:nth-child(3) { width: 100px; }