Invite link text same as play.jsx
This commit is contained in:
parent
5580f035df
commit
d5ba372264
@ -167,7 +167,7 @@ function registerEvents(store) {
|
||||
if (!code) return store.dispatch(actions.setInvite(null));
|
||||
const link = `${document.location.origin}#join=${code}`;
|
||||
navigator.clipboard.writeText(link).then(() => {
|
||||
notify('Your invite code was copied to the clipboard.');
|
||||
notify('Invite link copied to clipboard.');
|
||||
}, () => {});
|
||||
|
||||
return store.dispatch(actions.setInvite(code));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user