From 0f0a08196a045d49cf98bb2b841e6475cc0c94a6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 4 Aug 2025 09:27:30 +0900 Subject: refactor(frontend): Remove unnecessary component property --- frontend/src/components/ArticleList.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'frontend/src/components/ArticleList.tsx') 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 (
No articles found.
@@ -51,11 +50,7 @@ export function ArticleList({ articles, showReadStatus = true }: Props) {
{feedArticles.map((article) => ( - + ))}
-- cgit v1.2.3-70-g09d2