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; }