We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7dd18 commit df07cefCopy full SHA for df07cef
apps/web/client/src/app/project/[id]/_components/members/invitation-row.tsx
@@ -20,9 +20,9 @@ export const InvitationRow = ({ invitation }: { invitation: ProjectInvitation })
20
},
21
});
22
23
- const copyInvitationLink = () => {
+ const copyInvitationLink = async () => {
24
try {
25
- navigator.clipboard.writeText(constructInvitationLink(env.NEXT_PUBLIC_SITE_URL, invitation.id, invitation.token));
+ await navigator.clipboard.writeText(constructInvitationLink(env.NEXT_PUBLIC_SITE_URL, invitation.id, invitation.token));
26
setIsCopied(true);
27
toast.success('Invitation link copied to clipboard');
28
setTimeout(() => {
0 commit comments