From 4087ca1425d440f83ab60f503b48e07461d7e4b5 Mon Sep 17 00:00:00 2001 From: Rob Calcroft Date: Sat, 23 Apr 2016 02:40:52 +0100 Subject: [PATCH] (#12) - Ensure logout is not shown when not logged in --- src/components/Nav/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Nav/index.js b/src/components/Nav/index.js index c7ad005..b9cb2d2 100644 --- a/src/components/Nav/index.js +++ b/src/components/Nav/index.js @@ -12,7 +12,9 @@ const links = (
  • About
  • Help
  • -
  • Logout
  • + {localStorage.mondo_access_token ? ( +
  • Logout
  • + ) : ''}
    );