diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-04 09:27:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-04 09:27:30 +0900 |
| commit | 0f0a08196a045d49cf98bb2b841e6475cc0c94a6 (patch) | |
| tree | c8d0353eca02ed6e5c97166c2683d033025fb1af /frontend/src/pages | |
| parent | fb52b25834b95ff9a11f8c7d3c20453e26d3bd4f (diff) | |
| download | feedaka-0f0a08196a045d49cf98bb2b841e6475cc0c94a6.tar.gz feedaka-0f0a08196a045d49cf98bb2b841e6475cc0c94a6.tar.zst feedaka-0f0a08196a045d49cf98bb2b841e6475cc0c94a6.zip | |
refactor(frontend): Remove unnecessary component property
Diffstat (limited to 'frontend/src/pages')
| -rw-r--r-- | frontend/src/pages/ReadArticles.tsx | 4 | ||||
| -rw-r--r-- | frontend/src/pages/UnreadArticles.tsx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/frontend/src/pages/ReadArticles.tsx b/frontend/src/pages/ReadArticles.tsx index 4863d63..44ae834 100644 --- a/frontend/src/pages/ReadArticles.tsx +++ b/frontend/src/pages/ReadArticles.tsx @@ -26,9 +26,7 @@ export function ReadArticles() { </p> )} </div> - {data?.readArticles && ( - <ArticleList articles={data.readArticles} showReadStatus={true} /> - )} + {data?.readArticles && <ArticleList articles={data.readArticles} />} </div> ); } diff --git a/frontend/src/pages/UnreadArticles.tsx b/frontend/src/pages/UnreadArticles.tsx index 38bf077..f82d4dc 100644 --- a/frontend/src/pages/UnreadArticles.tsx +++ b/frontend/src/pages/UnreadArticles.tsx @@ -26,9 +26,7 @@ export function UnreadArticles() { </p> )} </div> - {data?.unreadArticles && ( - <ArticleList articles={data.unreadArticles} showReadStatus={true} /> - )} + {data?.unreadArticles && <ArticleList articles={data.unreadArticles} />} </div> ); } |
