From 5676b38b98b786745964ba5b0ab8527acb1dd980 Mon Sep 17 00:00:00 2001 From: gabek Date: Thu, 1 Jul 2021 19:09:44 +0000 Subject: [PATCH] Prettified Code! --- web/components/news-feed.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/web/components/news-feed.tsx b/web/components/news-feed.tsx index 84a5b90bb..99c9c723f 100644 --- a/web/components/news-feed.tsx +++ b/web/components/news-feed.tsx @@ -26,7 +26,13 @@ function ArticleItem({ title, url, content_html: content, date_published: date }
-

{dateString} (Link)

+

+ {dateString} ( + + Link + + ) +

@@ -55,8 +61,8 @@ export default function NewsFeed() { getFeed(); }, []); - const loadingSpinner = loading ? () : null; - const noNews = !loading && feed.length === 0 ? (
No news.
) : null; + const loadingSpinner = loading ? : null; + const noNews = !loading && feed.length === 0 ?
No news.
: null; return (