Skip to content

Commit

Permalink
Merge pull request #47 from hive-one/add-booking-link
Browse files Browse the repository at this point in the history
add link to bookings on self profile
  • Loading branch information
rishimohan authored Nov 29, 2023
2 parents 1321ab3 + f9343e0 commit 486033e
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 486033e

Please sign in to comment.