Add a link to the invitation in the invitation card #262

Merged
bustikiller merged 2 commits from invitation-link into main 2025-06-12 21:08:05 +00:00
Showing only changes of commit 5c1f8b0dbe - Show all commits

View File

@ -59,7 +59,7 @@ function InvitationCard({ invitation, allGuests, onGuestAdded, onDestroy }: {
<LinkIcon
className={`${iconClassName} right-8`}
onClick={() => {
navigator.clipboard.writeText(`https://${window.location.host}/${getSlug()}/invitations/${invitation.id}`);
navigator.clipboard.writeText(`https://${window.location.host}/${getSlug()}/site/invitation/${invitation.id}`);
}}
/>
<TrashIcon