From 3c310a0bda738201f44bc406030d3e6a27aaee4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davy=20H=C3=A9lard?= Date: Fri, 17 Jan 2025 17:44:07 +0100 Subject: [PATCH] Fix flow --- .../EventsFunctionConfigurationEditor/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js index 369cead610dd..b0c946d0c862 100644 --- a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js +++ b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js @@ -214,8 +214,9 @@ export default class EventsFunctionConfigurationEditor extends React.Component< eventsFunctionsContainer={eventsFunctionsContainer} eventsFunctionsExtension={eventsFunctionsExtension} helpPagePath={helpPagePath} - onConfigurationUpdated={() => { - onConfigurationUpdated(); + onConfigurationUpdated={extensionItemConfigurationAttribute => { + onConfigurationUpdated && + onConfigurationUpdated(extensionItemConfigurationAttribute); // A function configuration change may impact the parameters. this.forceUpdate(); }}