Skip to content

Commit

Permalink
fix: correctly copy user email to clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-ray-wilson committed Jan 14, 2025
1 parent 2a86e6f commit 4bf16f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const UserDetailsSection = ({ membershipId, handlePopUpOpen }: Props) =>
variant="plain"
className="group relative ml-2"
onClick={() => {
navigator.clipboard.writeText("");
navigator.clipboard.writeText(membership.user.username);
setCopyTextUsername("Copied");
}}
>
Expand Down

0 comments on commit 4bf16f6

Please sign in to comment.