From 9df4b475d89b4af842d53da7ad27f9dbcae55957 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 29 Aug 2023 19:04:58 +0200 Subject: [PATCH] Fix new company creation issue on opportunities --- .../modules/companies/components/NewCompanyProgressButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/modules/companies/components/NewCompanyProgressButton.tsx b/front/src/modules/companies/components/NewCompanyProgressButton.tsx index 5c632cac0..e48406daf 100644 --- a/front/src/modules/companies/components/NewCompanyProgressButton.tsx +++ b/front/src/modules/companies/components/NewCompanyProgressButton.tsx @@ -38,7 +38,7 @@ export function NewCompanyProgressButton() { throw new Error('Pipeline stage id is not defined'); } - createCompanyProgress(company, pipelineStageId); + createCompanyProgress(company.id, pipelineStageId); } const handleNewClick = useCallback(() => {