diff --git a/ui/components/NewsDetail.tsx b/ui/components/NewsDetail.tsx index f7d7216..f296df2 100644 --- a/ui/components/NewsDetail.tsx +++ b/ui/components/NewsDetail.tsx @@ -57,4 +57,4 @@ const NewsDetail: React.FC = ({ news }) => { ); }; -export default NewsDetail; \ No newline at end of file +export default NewsDetail; diff --git a/ui/components/NewsPage.tsx b/ui/components/NewsPage.tsx index da9404e..ea2543b 100644 --- a/ui/components/NewsPage.tsx +++ b/ui/components/NewsPage.tsx @@ -52,7 +52,7 @@ const NewsPage = () => {

Loading news...

- ) : (error ? ( + ) : error ? (

Failed to load news.

{error}

@@ -77,7 +77,7 @@ const NewsPage = () => { )) )}
- ))} + )} ); };