From 75207b093bebfd541671c6a3e45d7f4e2ce89d4b Mon Sep 17 00:00:00 2001 From: corentin Date: Thu, 24 Aug 2023 18:10:07 +0200 Subject: [PATCH] fix missing property in companies optimistic response --- front/src/pages/companies/Companies.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/pages/companies/Companies.tsx b/front/src/pages/companies/Companies.tsx index 36e4f7128..e486765f3 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);