feat: project creating
This commit is contained in:
@ -81,9 +81,8 @@ const useCrudOperations = <
|
||||
|
||||
const onSettled = () => {
|
||||
queryClient.invalidateQueries({
|
||||
predicate: (query: { queryKey: any }) => {
|
||||
return query.queryKey[0]?._id === key;
|
||||
},
|
||||
predicate: (query: { queryKey: any }) =>
|
||||
query.queryKey[0]?._id === key,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user