Skip to content

Commit

Permalink
route to favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
ocitocit committed Oct 15, 2023
1 parent 10aeff7 commit 55eb6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/navbar/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const UserMenu: React.FC<UserMenuProps> = ({ currentUser }) => {
{currentUser ? (
<>
<MenuItem onClick={() => router.push('/trips')} label="My trips" />
<MenuItem onClick={() => {}} label="My favorites" />
<MenuItem onClick={() => router.push('/favorites')} label="My favorites" />
<MenuItem onClick={() => router.push('/reservations')} label="My reservations" />
<MenuItem onClick={() => {}} label="My properties" />
<MenuItem onClick={onRent} label="Airbnb my home" />
Expand Down

0 comments on commit 55eb6cf

Please sign in to comment.