Skip to content

Commit

Permalink
Removing duplicated title for explainers in the articles card.
Browse files Browse the repository at this point in the history
Fixes: CV2-6029.
  • Loading branch information
caiosba committed Jan 21, 2025
1 parent 8b0039a commit f4f2e48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/components/article/MediaArticlesCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const MediaArticlesCard = ({ article, onAdd, team }) => {
{ article.nodeType === 'Explainer' && <FormattedMessage defaultMessage="Explainer" description="Type description of an explainer article card." id="mediaArticlesCard.explainer" tagName="small" /> }
</div>
<h6 className={styles.articlesSidebarCardTitle}>
{ article.nodeType === 'Explainer' && article.title }
{ article.nodeType === 'FactCheck' && isFactCheckValueBlank(article.title) ? article.claim_description?.description : article.title }
</h6>
{ article.nodeType === 'Explainer' && article.description && <div className={styles.articlesSidebarCardDescription}>{article.description}</div> }
Expand Down

0 comments on commit f4f2e48

Please sign in to comment.