Skip to content

Commit 0561ec2

Browse files
committed
remove Logout buttom keep one in the sidebar
1 parent 1914475 commit 0561ec2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

frontend/src/components/Header.jsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ const Header = ({ isAuthenticated, user, handleLogout, isAdmin, isCollapsed }) =
4242
{user?.name ? user.name : "User"}
4343
</span>
4444
</div>
45-
46-
<button
47-
onClick={handleLogout}
48-
className="header__logout"
49-
aria-label="Logout"
50-
>
51-
<ArrowRightStartOnRectangleIcon className="header__logout-icon" />
52-
<span className="header__logout-text">Logout</span>
53-
</button>
5445
</div>
5546
</header>
5647
) : null;

0 commit comments

Comments
 (0)