Skip to content

Commit

Permalink
logout icon onClick added
Browse files Browse the repository at this point in the history
  • Loading branch information
ampodo committed Oct 26, 2023
1 parent 7649a11 commit 682a145
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ function NavList() {
</Typography>
) : null}

<a href="#" className="flex items-center">
<a href="#" className="flex items-center" onClick={onLogout}>
<i
className="ri-logout-circle-r-line hover:text-blue-500 transition-colors duration-300 ease-in-out"
style={{ fontSize: "24px" }}
onClick={onLogout}
></i>
</a>
</ul>
Expand Down

0 comments on commit 682a145

Please sign in to comment.