feat: project creating

This commit is contained in:
2025-08-30 14:46:56 +04:00
parent a0522357d4
commit 1b97739063
4 changed files with 58 additions and 10 deletions

View File

@ -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,
});
};