From b075ac19c3441d91f4d97a4648463de5e49adb84 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 3 Jun 2022 17:37:15 +0200 Subject: [PATCH] lint --- libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx b/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx index 1c567d02f3..71df031d2f 100644 --- a/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx @@ -12,8 +12,8 @@ export function RSSFeed({ feedUrl, maxItems }: RSSFeedProps) { useEffect(() => { const fetchData = async () => { - let parser = new Parser() - let feed = await parser.parseURL(feedUrl); + const parser = new Parser() + const feed = await parser.parseURL(feedUrl); for (const item of feed.items) { item.content = item['content:encoded'] item.date = new Date(item.pubDate).toLocaleDateString('en-US', {