From e12a5c9a09ddbf3bcf274d30f6a14eacb8de87de Mon Sep 17 00:00:00 2001 From: ryannoelk Date: Tue, 12 Mar 2019 12:44:55 -0400 Subject: [PATCH] check that a user is logged in before showing the menu items on the home page --- modules/news/components/News.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/news/components/News.js b/modules/news/components/News.js index 31103bf0..cedd6142 100644 --- a/modules/news/components/News.js +++ b/modules/news/components/News.js @@ -54,7 +54,10 @@ class News extends React.Component {
- + { this.props.user && this.props.user.id !== 0 + ? + : '' + }

Recommended Recipes