diff --git a/examples/demo-app/src/factories/map-control.js b/examples/demo-app/src/factories/map-control.js index ac68804994..1bfa68b182 100644 --- a/examples/demo-app/src/factories/map-control.js +++ b/examples/demo-app/src/factories/map-control.js @@ -58,7 +58,7 @@ CustomMapControlFactory.deps = [ ]; function CustomMapControlFactory(EffectControl, EffectManager, ...deps) { const MapControl = MapControlFactory(...deps); - const actionComponents = [...(MapControl.defaultProps?.actionComponents ?? []), EffectControl]; + const actionComponents = [...(MapControl.defaultActionComponents ?? []), EffectControl]; const CustomMapControl = props => { const showEffects = Boolean(props.mapControls?.effect?.active);