fixed project updation in project about

This commit is contained in:
Pramod Mahajan 2025-07-09 16:59:36 +05:30
parent 01591c429e
commit fe4426af9e
2 changed files with 2 additions and 3 deletions

View File

@ -25,10 +25,9 @@ const AboutProject = () =>
{
if ( projects_Details?.id )
{
ClientQuery.invalidateQueries({queryKey:["projectInfo"]})
UpdateProjectDetails({ projectId: projects_Details?.id,updatedData: updatedProject,
} );
refetch()
}
};
return (

View File

@ -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", {