From bf170a0ad831484efd35463907d2ed9c78468b5b Mon Sep 17 00:00:00 2001 From: Yifei Hu Date: Wed, 10 Jul 2024 12:05:49 +0800 Subject: [PATCH] fix the PR gated --- ui/components/NewsDetail.tsx | 2 +- ui/components/NewsPage.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 = () => { )) )}
- ))} + )} ); };