Feat: Invitation link automatically completes domain name (#3393)
Co-authored-by: huangbaichao <hbc@moonlit.art>
This commit is contained in:
parent
c9abb75fce
commit
b90bc6c348
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const InvitationLink = ({
|
||||||
const selector = useRef(`invite-link-${randomString(4)}`)
|
const selector = useRef(`invite-link-${randomString(4)}`)
|
||||||
|
|
||||||
const copyHandle = useCallback(() => {
|
const copyHandle = useCallback(() => {
|
||||||
copy(value.url)
|
copy(window.location.origin + value.url)
|
||||||
setIsCopied(true)
|
setIsCopied(true)
|
||||||
}, [value])
|
}, [value])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue