From 335b9d0bb5fe8be8334acdee745496f0eee01602 Mon Sep 17 00:00:00 2001 From: Rob Cameron Date: Fri, 4 Dec 2020 16:01:42 -0800 Subject: [PATCH] Move logged-in email --- web/src/layouts/BlogLayout/BlogLayout.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/layouts/BlogLayout/BlogLayout.js b/web/src/layouts/BlogLayout/BlogLayout.js index 6809e82..66dcff8 100644 --- a/web/src/layouts/BlogLayout/BlogLayout.js +++ b/web/src/layouts/BlogLayout/BlogLayout.js @@ -6,7 +6,7 @@ const BlogLayout = ({ children }) => { return ( <> -
+

{ {isAuthenticated ? 'Log Out' : 'Log In'} - {isAuthenticated && ( -
  • - {currentUser.email} -
  • - )} + {isAuthenticated && ( +
    + {currentUser.email} +
    + )}