From f9df2722e81498cb7eaf2fbd80efc2f6df4fea47 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Fri, 12 Mar 2021 15:22:03 +1100 Subject: [PATCH] Fixed typo Resolved #5 --- client/components/panels/news-feed.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/panels/news-feed.jsx b/client/components/panels/news-feed.jsx index 04dd210..7a3e28e 100644 --- a/client/components/panels/news-feed.jsx +++ b/client/components/panels/news-feed.jsx @@ -33,8 +33,8 @@ const NewsFeed = props => {

{article.title}

Written by {article.author}, { article.edits > 0 ? - Last Updated {dateFormat(articles.updatedAt, 'fullDate')} ({`${article.edits} edit${article.edits > 1 ? 's': ''}`}) : - Published {dateFormat(articles.createdAt, 'fullDate')} + Last Updated {dateFormat(article.updatedAt, 'fullDate')} ({`${article.edits} edit${article.edits > 1 ? 's': ''}`}) : + Published {dateFormat(article.createdAt, 'fullDate')} }

{article.body}