From 872dc381d37af53284e1b91928d397881305423a Mon Sep 17 00:00:00 2001 From: ozerodb <50593663+ozerodb@users.noreply.github.com> Date: Wed, 3 Jan 2024 22:02:51 +0100 Subject: [PATCH] format --- frontend/src/App.css | 2 +- frontend/src/components/HKNavbar.jsx | 8 +++++--- frontend/src/components/LogoutButton.jsx | 6 +++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index 22351a3..872a94d 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -31,4 +31,4 @@ a { #profile-nav-dropdown .dropdown-menu .dropdown-divider { border-top: 1px solid white; -} \ No newline at end of file +} diff --git a/frontend/src/components/HKNavbar.jsx b/frontend/src/components/HKNavbar.jsx index c7b7a9f..e1eff40 100644 --- a/frontend/src/components/HKNavbar.jsx +++ b/frontend/src/components/HKNavbar.jsx @@ -48,7 +48,8 @@ const HKNavbar = () => {
{ roundedCircle /> } - > - {user.name ? user.name : user.email} + + {user.name ? user.name : user.email} + diff --git a/frontend/src/components/LogoutButton.jsx b/frontend/src/components/LogoutButton.jsx index 364abac..74f95ff 100644 --- a/frontend/src/components/LogoutButton.jsx +++ b/frontend/src/components/LogoutButton.jsx @@ -13,7 +13,11 @@ const LogoutButton = () => { }); }; - return ; + return ( + + ); }; export default LogoutButton;