fix: module flicker issue on property updation (#6699)

This commit is contained in:
Akshita Goyal 2025-03-04 18:30:53 +05:30 committed by GitHub
parent c021ffddf2
commit 6ac28ad614
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -425,7 +425,6 @@ export class ModulesStore implements IModuleStore {
set(this.moduleMap, [moduleId], { ...originalModuleDetails, ...data });
});
const response = await this.moduleService.patchModule(workspaceSlug, projectId, moduleId, data);
this.fetchModuleDetails(workspaceSlug, projectId, moduleId);
return response;
} catch (error) {
console.error("Failed to update module in module store", error);