Skip to content

Commit 5c9c52e

Browse files
authored
fix: Group invite link on NoMembers screen (#107)
1 parent 3b33704 commit 5c9c52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/group/NoMembers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const NoMembers: React.FC<{ group: Group & { groupUsers: Array<GroupUser> } }> =
99
const [isCopied, setIsCopied] = React.useState(false);
1010

1111
async function copyToClipboard() {
12-
const inviteLink = `${window.location.origin}/groups/join-group?groupId=${group.publicId}`;
12+
const inviteLink = `${window.location.origin}/join-group?groupId=${group.publicId}`;
1313
await navigator.clipboard.writeText(inviteLink);
1414
setIsCopied(true);
1515
setTimeout(() => {

0 commit comments

Comments
 (0)