Skip to content

Commit

Permalink
Merge branch 'staging' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
UnsignedArduino committed Jan 3, 2024
2 parents 6a836d8 + 0ee6b54 commit 1aae0b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ function Navbar({
extraNavbarHTML,
dontShowSignIn,
}: NavbarProps): JSX.Element {
dontShowSignIn = true;

return (
<nav className="navbar sticky-top bg-body-tertiary navbar-expand-md">
<div className="container-fluid">
Expand Down Expand Up @@ -133,9 +135,9 @@ function Navbar({
if (extraNavbarHTML) {
elements.push(extraNavbarHTML);
}
// if (!dontShowSignIn) {
// elements.push(<Profile />);
// }
if (!dontShowSignIn) {
elements.push(<Profile />);
}
elements.push(<NavbarDropdownThemePicker alignEnd />);

return elements.map((ele: JSX.Element, index: number) => {
Expand Down

0 comments on commit 1aae0b3

Please sign in to comment.