Feat: Invitation link automatically completes domain name (#3393)

Co-authored-by: huangbaichao <hbc@moonlit.art>
pull/3321/head
Moonlit 2 years ago committed by GitHub
parent c9abb75fce
commit b90bc6c348
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -18,7 +18,7 @@ const InvitationLink = ({
const selector = useRef(`invite-link-${randomString(4)}`)
const copyHandle = useCallback(() => {
copy(value.url)
copy(window.location.origin + value.url)
setIsCopied(true)
}, [value])

Loading…
Cancel
Save