Fix new company creation issue on opportunities

This commit is contained in:
Charles Bochet
2023-08-29 19:04:58 +02:00
parent ccac7ec07b
commit 9df4b475d8

View File

@ -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(() => {