Skip to content

Commit

Permalink
Merge pull request #155 from Arquisoft/login_bug
Browse files Browse the repository at this point in the history
cambio boton login
  • Loading branch information
nataliariego authored May 4, 2022
2 parents 49c22ca + 2524bdc commit 2bf7a35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webapp/src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ function NavBar() {
</Link>
<div className="navbar-login">
{(!isLoggedIn) ?
<Button href="/login" style={{float: "right"}}>Login</Button> :
<Link className="nav-link" to="/login">
<Button style={{float: "right"}}>Login</Button>
</Link>
:
<LogoutButton >
<Button color="primary">
Logout
Expand Down

0 comments on commit 2bf7a35

Please sign in to comment.