Add user email to the user menu

This commit is contained in:
braginini
2022-04-03 11:10:42 +02:00
parent 24c3a1636d
commit 41e5bd0f4f

View File

@@ -119,6 +119,11 @@ const Navbar = ({toggle}) => {
>
<Menu.Items
className="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none">
<Menu.Item>
<div className="block px-4 py-2 text-sm font-semibold text-gray-700">
{user.email}
</div>
</Menu.Item>
<Menu.Item>
{({active}) => (
<NavLink