Skip to content

Commit

Permalink
add link to bookings on self profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rishimohan committed Nov 29, 2023
1 parent 588b529 commit f9343e0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions apps/web/pages/[user].js
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,14 @@ const ProfilePage = ({ user, userEvents, userSession }) => {

<div className="flex items-center gap-2">
{isLoggedInUser ? (
<Button variant="outline" size="sm" asChild>
<Link href="/settings/my-account/general">Edit profile</Link>
</Button>
<div className="flex items-center gap-3 ">
<Button variant="outline" size="sm" asChild>
<Link href="/settings/my-account/general">Edit profile</Link>
</Button>
<Button variant="outline" size="sm" asChild>
<Link href="/bookings/upcoming">Your bookings</Link>
</Button>
</div>
) : (
""
)}
Expand Down

0 comments on commit f9343e0

Please sign in to comment.