From ca755d37b36a4744333d9d349fe9b9a78e5868f7 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 4 May 2022 11:45:34 -0300 Subject: [PATCH] Fix console errors --- ui/component/headerProfileMenuButton/view.jsx | 95 ++++++++++--------- 1 file changed, 50 insertions(+), 45 deletions(-) diff --git a/ui/component/headerProfileMenuButton/view.jsx b/ui/component/headerProfileMenuButton/view.jsx index ccda3f112..1a3241edb 100644 --- a/ui/component/headerProfileMenuButton/view.jsx +++ b/ui/component/headerProfileMenuButton/view.jsx @@ -61,53 +61,58 @@ export default function HeaderProfileMenuButton(props: HeaderMenuButtonProps) { )} )} - - {authenticated ? ( - <> - - - - - - - + {authenticated ? ( + + + + + + + + - -
-
- - {__('Sign Out')} -
- {email} + +
+
+ + {__('Sign Out')}
- - - ) : ( - <> - - - - - - )} - + {email} +
+
+ + ) : ( + + + + + + + )}
); }