Skip to content

Commit

Permalink
feat: remove setPage on navbar click
Browse files Browse the repository at this point in the history
  • Loading branch information
DPS0340 committed Nov 16, 2022
1 parent 2707225 commit 1b336f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const NavBar: React.FC = () => {
key={e.name}
className="h-20 flex flex-grow cursor-pointer"
onClick={() => {
setPage(e);
navigate(e.uri);
}}
>
Expand Down

0 comments on commit 1b336f2

Please sign in to comment.