From e14bb334badfcc959114a544da26cbcc37688965 Mon Sep 17 00:00:00 2001 From: Yifei Hu Date: Wed, 10 Jul 2024 12:17:16 +0800 Subject: [PATCH] fix the PR gated --- ui/components/NewsPage.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/components/NewsPage.tsx b/ui/components/NewsPage.tsx index 5e72bf0..ffe63c3 100644 --- a/ui/components/NewsPage.tsx +++ b/ui/components/NewsPage.tsx @@ -59,9 +59,7 @@ const NewsPage = () => { } if (news.length === 0) { - return ( -

No news available.

- ); + return

No news available.

; } return (