Skip to content

Commit

Permalink
added changes to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
NazireAta committed May 15, 2024
1 parent 6fbb1be commit 466a636
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/components/NavbarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const links = [{ name: "Home", path: "/" }] as const;
export const NavbarLayout = () => {
const fetcher = useFetcher();
const isAuthenticated = !!useAuthStore().token;
const navigate = useNavigate();
const navigation = useNavigation();

return (
Expand Down Expand Up @@ -126,6 +125,13 @@ export const NavbarLayout = () => {
</Link>
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem asChild>
<Link to="/bookmarks">
<User className="mr-2 h-4 w-4" />
<span>Bookmarks</span>
</Link>
</DropdownMenuItem>
<DropdownMenuSeparator />
<fetcher.Form
className="contents"
method="POST"
Expand Down

0 comments on commit 466a636

Please sign in to comment.