Invite link text same as play.jsx

This commit is contained in:
Mashy 2020-01-23 11:19:33 +10:00
parent 5580f035df
commit d5ba372264

View File

@ -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));