Remove extra email output when logged in
This commit is contained in:
@@ -36,7 +36,6 @@ const BlogLayout = ({ children }) => {
|
|||||||
<li>
|
<li>
|
||||||
{isAuthenticated ? (
|
{isAuthenticated ? (
|
||||||
<div>
|
<div>
|
||||||
<span>Logged in as {currentUser.email}</span>{' '}
|
|
||||||
<button type="button" onClick={logOut} className="py-2 px-4">
|
<button type="button" onClick={logOut} className="py-2 px-4">
|
||||||
Logout
|
Logout
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user