aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/ArticleList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/ArticleList.tsx')
-rw-r--r--frontend/src/components/ArticleList.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/frontend/src/components/ArticleList.tsx b/frontend/src/components/ArticleList.tsx
index 5d508c5..2ea94f0 100644
--- a/frontend/src/components/ArticleList.tsx
+++ b/frontend/src/components/ArticleList.tsx
@@ -9,10 +9,9 @@ interface Props {
| GetUnreadArticlesQuery["unreadArticles"]
| GetReadArticlesQuery["readArticles"]
>;
- showReadStatus?: boolean;
}
-export function ArticleList({ articles, showReadStatus = true }: Props) {
+export function ArticleList({ articles }: Props) {
if (articles.length === 0) {
return (
<div className="p-4 text-center text-gray-500">No articles found.</div>
@@ -51,11 +50,7 @@ export function ArticleList({ articles, showReadStatus = true }: Props) {
</h3>
<div className="space-y-1">
{feedArticles.map((article) => (
- <ArticleItem
- key={article.id}
- article={article}
- showReadStatus={showReadStatus}
- />
+ <ArticleItem key={article.id} article={article} />
))}
</div>
</div>