diff --git a/src/components/ArticleCard.tsx b/src/components/ArticleCard.tsx index ad32efe..dca10f5 100644 --- a/src/components/ArticleCard.tsx +++ b/src/components/ArticleCard.tsx @@ -23,8 +23,8 @@ export function ArticleCard({ article, onToggleRead }: ArticleCardProps) { return ( @@ -39,10 +39,10 @@ export function ArticleCard({ article, onToggleRead }: ArticleCardProps) {
- {article. source} + {article.source} - {new Date(article. publishedAt).toLocaleDateString()} + {new Date(article.publishedAt).toLocaleDateString()}
@@ -66,30 +66,13 @@ export function ArticleCard({ article, onToggleRead }: ArticleCardProps) { Mark Read )} - - +

{article.summary}

@@ -100,7 +83,7 @@ export function ArticleCard({ article, onToggleRead }: ArticleCardProps) { className="hover:bg-accent hover:text-accent-foreground" onClick={(e) => { handleButtonClick(e) - if (! article.isRead) onToggleRead(article.id) + if (!article.isRead) onToggleRead(article.id) }} >