fixed project updation in project about
This commit is contained in:
parent
01591c429e
commit
fe4426af9e
@ -25,10 +25,9 @@ const AboutProject = () =>
|
||||
{
|
||||
if ( projects_Details?.id )
|
||||
{
|
||||
ClientQuery.invalidateQueries({queryKey:["projectInfo"]})
|
||||
UpdateProjectDetails({ projectId: projects_Details?.id,updatedData: updatedProject,
|
||||
} );
|
||||
|
||||
refetch()
|
||||
}
|
||||
};
|
||||
return (
|
||||
|
@ -400,7 +400,7 @@ export const useUpdateProject = ({ onSuccessCallback }) => {
|
||||
const { projectId } = variables;
|
||||
|
||||
queryClient.invalidateQueries({queryKey:["ProjectsList"]});
|
||||
queryClient.invalidateQueries( {queryKey: [ "projectinfo", projectId ]} );
|
||||
queryClient.invalidateQueries( {queryKey: [ "projectInfo", projectId ]} );
|
||||
queryClient.invalidateQueries({queryKey:['basicProjectNameList']});
|
||||
|
||||
eventBus.emit("project", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user