Skip to content
Snippets Groups Projects
Commit a4a3b7be authored by Valentino Kozinec's avatar Valentino Kozinec
Browse files

Fix

parent ae61e7bf
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ const Header: React.FC<HeaderProps> = () => {
<Menu.Button className="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary">
<span className="sr-only">Open user menu</span>
<span className="inline-flex items-center justify-center h-8 w-8 rounded-full bg-gray-500 overflow-hidden">
<Gravatar email={currentUser.email || ''} size={32} rating="pg" protocol="https://" />
<Gravatar email={currentUser?.email || undefined} size={32} rating="pg" protocol="https://" />
</span>
</Menu.Button>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment