mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix(InviteUsers): fix invite users bugs.
This commit is contained in:
@@ -27,4 +27,14 @@ export const useInviteMetaByToken = (token, props) => {
|
||||
...props
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
export const useResendInvitation = (props) => {
|
||||
const apiRequest = useApiRequest();
|
||||
|
||||
return useMutation(
|
||||
(userId) => apiRequest.post(`invite/resend/${userId}`),
|
||||
props
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user