Skip to content

Commit

Permalink
fix: show logout button on mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshav-Aneja committed Jan 19, 2024
1 parent 9480e18 commit 1b57976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ const Navbar = ({ loggedIn, username, dashBoard, tasksPage = false }) => {
PROFILE
</a>
</Link>
{/* <button onClick={handleLogout}>
<button onClick={handleLogout}>
<a className="block py-2 px-4 text-peach hover:text-white border-peach">
LOGOUT
</a>
</button> */}
</button>
</>
) : (
<Link href="/login">
Expand Down

0 comments on commit 1b57976

Please sign in to comment.