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 => {
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}