diff --git a/frontend/src/components/TopicCard/Desc.js b/frontend/src/components/TopicCard/Desc.js index 689977f5..c94f30fb 100644 --- a/frontend/src/components/TopicCard/Desc.js +++ b/frontend/src/components/TopicCard/Desc.js @@ -24,8 +24,8 @@ class MdTextArea extends RIETextArea { class Desc extends Component { render = () => { - const descHTML = (this.props.desc === '' && this.props.authorizedToEdit) - ? '' + const descHTML = (!this.props.desc && this.props.authorizedToEdit) + ? '

Click to add description...

' : Util.mdToHTML(this.props.desc) if (this.props.authorizedToEdit) {