diff --git a/src/tags/TagsList.js b/src/tags/TagsList.js index b441337e..f34c0c79 100644 --- a/src/tags/TagsList.js +++ b/src/tags/TagsList.js @@ -18,7 +18,7 @@ export class TagsList extends React.Component { renderContent() { const { tagsList, colorGenerator } = this.props; if (tagsList.loading) { - return Loading... + return Loading... } if (tagsList.error) { diff --git a/src/utils/MuttedMessage.js b/src/utils/MuttedMessage.js index e4eb1fd9..e5619d0d 100644 --- a/src/utils/MuttedMessage.js +++ b/src/utils/MuttedMessage.js @@ -3,7 +3,9 @@ import { Card } from 'reactstrap'; import classnames from 'classnames'; export default function MutedMessage({ children, marginSize = 4 }) { - const cardClasses = classnames('bg-light', `mt-${marginSize}`); + const cardClasses = classnames('bg-light', { + [`mt-${marginSize}`]: marginSize > 0, + }); return (