diff --git a/src/components/Group/GroupInviteCode.tsx b/src/components/Group/GroupInviteCode.tsx index 87969c5..250f9f9 100644 --- a/src/components/Group/GroupInviteCode.tsx +++ b/src/components/Group/GroupInviteCode.tsx @@ -43,37 +43,46 @@ export default function GroupInviteCode() { {' '} (click to show/hide) - {isAdmin && ( -
- - Reset - - - Regenerate - - {navigator.clipboard.writeText("https://www.wheelshare.app/join/"+group.joinCode)}} style={{ - backgroundColor: lightgrey, - margin: '0.5rem', - flex: 1, - }}> - Copy Link - -
- )} +
+ {isAdmin && ( + <> + + Reset + + + Regenerate + + + )} + { + navigator.clipboard.writeText( + 'https://www.wheelshare.app/join/' + group.joinCode + ); + }} + style={{ + backgroundColor: lightgrey, + margin: '0.5rem', + flex: 1, + }} + > + Copy Link + +
); } else {