mirror of
https://github.com/docmost/docmost.git
synced 2025-11-16 07:41:08 +10:00
Allow creation of space
* other fixes and cleanups
This commit is contained in:
@ -82,7 +82,7 @@ export function useCreateInvitationMutation() {
|
||||
onSuccess: (data, variables) => {
|
||||
notifications.show({ message: "Invitation sent" });
|
||||
// TODO: mutate cache
|
||||
queryClient.invalidateQueries({
|
||||
queryClient.refetchQueries({
|
||||
queryKey: ["invitations"],
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user