diff --git a/app/configurator/configurator-state.tsx b/app/configurator/configurator-state.tsx index a702a6e87..4192e8285 100644 --- a/app/configurator/configurator-state.tsx +++ b/app/configurator/configurator-state.tsx @@ -1565,6 +1565,10 @@ const ConfiguratorStateProviderInternal = ( // eslint-disable-next-line react-hooks/exhaustive-deps }, []); + useEffect(() => { + dispatch({ type: "DATASOURCE_CHANGED", value: dataSource }); + }, [dataSource, dispatch]); + useEffect(() => { try { switch (state.state) {