chore: update invite link

This commit is contained in:
zerosoul
2022-04-15 22:12:26 +08:00
parent 1d9208fb61
commit 45e2593956
2 changed files with 19 additions and 23 deletions
+2 -2
View File
@@ -13,11 +13,11 @@ export default function useInviteLink(cid = null) {
} = useGetSMTPConfigQuery();
const [
generateChannelInviteLink,
{ data: channelInviteLink, isFetching: generatingChannelLink },
{ data: channelInviteLink, isLoading: generatingChannelLink },
] = useCreateChannelInviteLinkQuery();
const [
generateServerInviteLink,
{ data: serverInviteLink, isFetching: generatingServerLink },
{ data: serverInviteLink, isLoading: generatingServerLink },
] = useCreateServerInviteLinkQuery();
const [linkCopied, copy] = useCopy();
const copyLink = () => {