Skip to content

The open alternative to Salesforce, designed for AI.

fix missing property in companies optimistic response

corentin75207b093beb
diff --git a/front/src/pages/companies/Companies.tsx b/front/src/pages/companies/Companies.tsx
index 36e4f71286b..e486765f395 100644
--- a/front/src/pages/companies/Companies.tsx
+++ b/front/src/pages/companies/Companies.tsx
@@ -50,9 +50,10 @@ export function Companies() {
accountOwner: null,
linkedinUrl: '',
employees: null,
+ idealCustomerProfile: false,
},
},
- update: (cache, { data }) => {
+ update: (_cache, { data }) => {
if (data?.createOneCompany) {
upsertTableRowIds(data?.createOneCompany.id);
upsertEntityTableItem(data?.createOneCompany);